diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-12-13 11:21:09 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-12-13 11:21:09 +0000 |
| commit | 1ba84976606b34e81005aefcb131d48fe22a1118 (patch) | |
| tree | 8fb3039e34d241e1f0ac47a31ca472b11d2847d2 /lib/libfetch/fetch.c | |
| parent | 937c4dfa088c6a93b1b6ff06c0e91745d2c41576 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/fetch.c')
| -rw-r--r-- | lib/libfetch/fetch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.c b/lib/libfetch/fetch.c index b26cad08a59b..bc803d5f8417 100644 --- a/lib/libfetch/fetch.c +++ b/lib/libfetch/fetch.c @@ -314,6 +314,8 @@ fetchParseURL(char *URL) */ if (URL[1] == '/') URL = (p += 2); + } else { + p = URL; } if (!*URL || *URL == '/') goto nohost; |
