]> Pileus Git - ~andy/fetchmail/commitdiff
HMH's changes.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Oct 2001 07:56:40 +0000 (07:56 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Oct 2001 07:56:40 +0000 (07:56 -0000)
svn path=/trunk/; revision=3531

NEWS
imap.c
md5c.c

diff --git a/NEWS b/NEWS
index 9a7d3c2f3a114ff82d32c1cebfe5bc7de93f8f34..c5c345e1035e158c35bb276501747ad540e4c952 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@
 
 (The `lines' figures total .c, .h, .l, and .y files under version control.)
 
-* Finished license cleanup, all licenses in the distribution are noe
+* Finished license cleanup, all licenses in the distribution are now
   officially GPL-compatible.
 
 fetchmail-5.9.3 (Sun Sep 30 12:08:52 EDT 2001), 21075 lines:
diff --git a/imap.c b/imap.c
index ed63c0760e9de448fb64f09f3e89fa3c99a98b06..2ee7759ef6053c7d3e26e7fadf458f65c22eb508 100644 (file)
--- a/imap.c
+++ b/imap.c
@@ -635,8 +635,8 @@ static int imap_getsizes(int sock, int count, int *sizes)
        else if (sscanf(buf, "* %u FETCH (RFC822.SIZE %u)", &num, &size) == 2) {
            if (num > 0 && num <= count)
                sizes[num - 1] = size;
-           /* else, strict: protocol error, flexible: nothing
-            * I vote for flexible. */
+           else
+               report(stderr, "Warning: ignoring bogus data for message sizes returned by the server.\n");
        }
     }
 
diff --git a/md5c.c b/md5c.c
index 22ce9dee3e3e281549fd392c114c08caa3fa0abc..52d351d78452d4f55b54c386d37fe868cdcf08f0 100644 (file)
--- a/md5c.c
+++ b/md5c.c
@@ -19,6 +19,9 @@
    abartlet@samba.org Jun 2001 */
 
 #include "md5.h"
+#ifdef HAVE_STRING_H
+#include <string.h>   /* memmove */
+#endif
 
 /*
  * Note: this code is harmless on little-endian machines.