From: Daniel Stenberg Date: Fri, 18 Oct 2002 15:27:49 +0000 (+0000) Subject: return call_multi when we follow a location X-Git-Tag: curl-7_10_2~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=203633d34d31ffd2a10ac8ed7a81daed4de31f7a;p=thirdparty%2Fcurl.git return call_multi when we follow a location --- diff --git a/lib/multi.c b/lib/multi.c index c9861c24aa..98700742de 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -430,8 +430,10 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) if(easy->easy_conn->newurl) { easy->result = Curl_follow(easy->easy_handle, strdup(easy->easy_conn->newurl)); - if(CURLE_OK == easy->result) + if(CURLE_OK == easy->result) { easy->state = CURLM_STATE_CONNECT; + result = CURLM_CALL_MULTI_PERFORM; + } } else { easy->state = CURLM_STATE_DONE;