commit | d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Oct 25 12:46:03 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Oct 25 12:46:03 2006 +0000 |
tree | 5f3775e14e05880c7977402384756e6ca3102096 | |
parent | c8400a216206a848f6c4b83b668df37f6fb546ee [diff] [blame] |
use skip_whitespace where appropriate
diff --git a/networking/wget.c b/networking/wget.c index a0d3e15..090b58d 100644 --- a/networking/wget.c +++ b/networking/wget.c
@@ -302,7 +302,7 @@ s = buf; while (*s != '\0' && !isspace(*s)) ++s; - while (isspace(*s)) ++s; + s = skip_whitespace(s); // FIXME: no error check // xatou wouldn't work: "200 OK" status = atoi(s);