diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-12-27 16:40:47 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-12-27 16:40:47 +0000 |
| commit | 0d8db7eaa5d0c1249aaff4eca4cbcfdfb3df71f9 (patch) | |
| tree | 1a0e91cf098ca27d8e981c63ad6d8629fec813d9 /lib/libfetch/fetch.c | |
| parent | 71049a55f1c596ef29020496c50a909ae32164f5 (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; |
