diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-10-21 12:07:02 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-21 12:07:02 +0000 | 
| commit | 0fa512f26d2a4ad02c90e89a5f1f77c9e36dc98d (patch) | |
| tree | a3d211b0f66f84d722742e1d0103acd5660ff7d9 /lib | |
| parent | 219d88518cb7bf5d202ec6ae9b21827792cefd2e (diff) | |
Nikita Schmidt's fix to debian bug report #165382. This is verified with
the new test case 55.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/transfer.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/transfer.c b/lib/transfer.c index e90104aec..ac178d1c1 100644 --- 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); | 
