diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-25 12:46:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-25 12:46:03 +0000 |
commit | d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8 (patch) | |
tree | 5f3775e14e05880c7977402384756e6ca3102096 /networking/wget.c | |
parent | c8400a216206a848f6c4b83b668df37f6fb546ee (diff) | |
download | busybox-w32-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.tar.gz busybox-w32-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.tar.bz2 busybox-w32-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.zip |
use skip_whitespace where appropriate
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index a0d3e15e8..090b58d9a 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -302,7 +302,7 @@ int wget_main(int argc, char **argv) | |||
302 | 302 | ||
303 | s = buf; | 303 | s = buf; |
304 | while (*s != '\0' && !isspace(*s)) ++s; | 304 | while (*s != '\0' && !isspace(*s)) ++s; |
305 | while (isspace(*s)) ++s; | 305 | s = skip_whitespace(s); |
306 | // FIXME: no error check | 306 | // FIXME: no error check |
307 | // xatou wouldn't work: "200 OK" | 307 | // xatou wouldn't work: "200 OK" |
308 | status = atoi(s); | 308 | status = atoi(s); |