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:
parent
5099ec0306
commit
23cbd15095
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user