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:
58b6b3d
)
Dan Winship's fix to make the new auth stuff such as NTLM to work with
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 15 Jul 2003 22:46:01 +0000
(22:46 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 15 Jul 2003 22:46:01 +0000
(22:46 +0000)
the multi interface
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
651a47d
..
f6749f1
100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-440,8
+440,9
@@
CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
/* When we follow redirects, must to go back to the CONNECT state */
if(easy->easy_conn->newurl) {
- easy->result = Curl_follow(easy->easy_handle,
- strdup(easy->easy_conn->newurl));
+ char *newurl = easy->easy_conn->newurl;
+ easy->easy_conn->newurl = NULL;
+ easy->result = Curl_follow(easy->easy_handle, newurl);
if(CURLE_OK == easy->result) {
easy->state = CURLM_STATE_CONNECT;
result = CURLM_CALL_MULTI_PERFORM;