mirror of https://github.com/moparisthebest/curl
minor fix to not shadow a variable
This commit is contained in:
parent
9df8f9a63d
commit
381c6c5d52
|
@ -389,8 +389,6 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
|
||||||
|
|
||||||
case CURLM_STATE_WAITCONNECT:
|
case CURLM_STATE_WAITCONNECT:
|
||||||
/* awaiting a completion of an asynch connect */
|
/* awaiting a completion of an asynch connect */
|
||||||
{
|
|
||||||
bool connected;
|
|
||||||
easy->result = Curl_is_connected(easy->easy_conn,
|
easy->result = Curl_is_connected(easy->easy_conn,
|
||||||
easy->easy_conn->firstsocket,
|
easy->easy_conn->firstsocket,
|
||||||
&connected);
|
&connected);
|
||||||
|
@ -409,7 +407,6 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
|
||||||
easy->state = CURLM_STATE_DO;
|
easy->state = CURLM_STATE_DO;
|
||||||
result = CURLM_CALL_MULTI_PERFORM;
|
result = CURLM_CALL_MULTI_PERFORM;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CURLM_STATE_DO:
|
case CURLM_STATE_DO:
|
||||||
|
|
Loading…
Reference in New Issue