diff options
Diffstat (limited to 'lib/libfetch')
-rw-r--r-- | lib/libfetch/fetch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libfetch/fetch.c b/lib/libfetch/fetch.c index 5fb4471..66b6fe0 100644 --- a/lib/libfetch/fetch.c +++ b/lib/libfetch/fetch.c @@ -367,8 +367,7 @@ fetchParseURL(const char *URL) _url_seterr(URL_BAD_PORT); goto ouch; } - while (*p && (*p != '/')) - p++; + p = q; } nohost: |