aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-10-02 07:56:40 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-10-02 07:56:40 +0000
commitd1729183885a1019b59ffb047115f955e1f866f8 (patch)
tree62c33af43b9faf78682f7ca73c017c81c1e4b3ab
parent0d51677f8a2f8427b268b16764395b1431721dab (diff)
downloadfetchmail-d1729183885a1019b59ffb047115f955e1f866f8.tar.gz
fetchmail-d1729183885a1019b59ffb047115f955e1f866f8.tar.bz2
fetchmail-d1729183885a1019b59ffb047115f955e1f866f8.zip
HMH's changes.
svn path=/trunk/; revision=3531
-rw-r--r--NEWS2
-rw-r--r--imap.c4
-rw-r--r--md5c.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 9a7d3c2f..c5c345e1 100644
--- 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 ed63c076..2ee7759e 100644
--- 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 22ce9dee..52d351d7 100644
--- 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.