1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Igor Khristophorov's fix for check_end(). From

<sxs4s027snq.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2000-12-17 11:31:30 -08:00
parent 5099ec0306
commit 23cbd15095
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-12-17 Igor Khristophorov <igor@atdot.org>
* http.c (check_end): Fix test for '+' or '-'.
2000-12-17 Hrvoje Niksic <hniksic@arsdigita.com>
* url.c (parseurl): Rename inner loop var from i to ind to avoid

View File

@ -1712,7 +1712,7 @@ check_end (const char *p)
++p;
if (!*p
|| (p[0] == 'G' && p[1] == 'M' && p[2] == 'T')
|| ((p[0] == '+' || p[1] == '-') && ISDIGIT (p[1])))
|| ((p[0] == '+' || p[0] == '-') && ISDIGIT (p[1])))
return 1;
else
return 0;