From 27ccfb65b02cc47ea50abe6f28b3655a85afd13f Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 28 Jun 1998 21:44:59 +0000 Subject: Increase allowed UIDL length to 70 chars per rfc1939 --- mail/popper/files/patch-ai | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/popper/files/patch-ai') diff --git a/mail/popper/files/patch-ai b/mail/popper/files/patch-ai index 8e3af1eb297f..6eb95235297c 100644 --- a/mail/popper/files/patch-ai +++ b/mail/popper/files/patch-ai @@ -25,7 +25,7 @@ cp = &buffer[7]; while (*cp && (*cp == ' ' || *cp == '\t')) cp++; ! l = strlen(cp); -! if(l < DIG_SIZE || l > DIG_SIZE * 3) /* To account for the empty UIDL string */ +! if(l < DIG_SIZE || l > 70/*rfc1939*/) /* To account for the empty UIDL string */ { uidl_found--; /*roll over as though it hasn't seen anything*/ continue; -- cgit v1.2.3