diff options
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index c82383507..74196a4f1 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -2338,7 +2338,7 @@ static void handle_incoming_and_exit(const len_and_sockaddr *fromAddr) | |||
2338 | if (STRNCASECMP(iobuf, "Range:") == 0) { | 2338 | if (STRNCASECMP(iobuf, "Range:") == 0) { |
2339 | /* We know only bytes=NNN-[MMM] */ | 2339 | /* We know only bytes=NNN-[MMM] */ |
2340 | char *s = skip_whitespace(iobuf + sizeof("Range:")-1); | 2340 | char *s = skip_whitespace(iobuf + sizeof("Range:")-1); |
2341 | if (is_prefixed_with(s, "bytes=") == 0) { | 2341 | if (is_prefixed_with(s, "bytes=")) { |
2342 | s += sizeof("bytes=")-1; | 2342 | s += sizeof("bytes=")-1; |
2343 | range_start = BB_STRTOOFF(s, &s, 10); | 2343 | range_start = BB_STRTOOFF(s, &s, 10); |
2344 | if (s[0] != '-' || range_start < 0) { | 2344 | if (s[0] != '-' || range_start < 0) { |