From d1729183885a1019b59ffb047115f955e1f866f8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 2 Oct 2001 07:56:40 +0000 Subject: HMH's changes. svn path=/trunk/; revision=3531 --- NEWS | 2 +- imap.c | 4 ++-- md5c.c | 3 +++ 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 /* memmove */ +#endif /* * Note: this code is harmless on little-endian machines. -- cgit v1.2.3