projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219d885
)
Nikita Schmidt's fix to debian bug report #165382. This is verified with
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 21 Oct 2002 12:07:02 +0000
(12:07 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 21 Oct 2002 12:07:02 +0000
(12:07 +0000)
the new test case 55.
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index e90104aec156efcf70a9d7877183b12b12fb7321..ac178d1c191501fbc727e82be6ee476ac419ee07 100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-1373,7
+1373,7
@@
CURLcode Curl_follow(struct SessionHandle *data,
return CURLE_OUT_OF_MEMORY; /* go out from this */
sprintf(newest, "%s%s%s", url_clone,
- (('/' == useurl[0]) ||
!*protsep
)?"":"/",
+ (('/' == useurl[0]) ||
(protsep && !*protsep)
)?"":"/",
useurl);
free(newurl); /* newurl is the allocated pointer */
free(url_clone);