1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

oops, forget to add 1 for newline for max UIDL check

This commit is contained in:
Andrey A. Chernov 1998-06-28 21:56:00 +00:00
parent 27ccfb65b0
commit 0a8957adfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11591

View File

@ -25,7 +25,7 @@
cp = &buffer[7];
while (*cp && (*cp == ' ' || *cp == '\t')) cp++;
! l = strlen(cp);
! if(l < DIG_SIZE || l > 70/*rfc1939*/) /* To account for the empty UIDL string */
! if(l < DIG_SIZE || l > 70/*rfc1939*/+1) /* To account for the empty UIDL string */
{
uidl_found--; /*roll over as though it hasn't seen anything*/
continue;