diff --git a/lib/multi.c b/lib/multi.c index 3e2583a21..2d1d7b5b2 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1017,7 +1017,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, /* There was no connection available. We will go to the pending state and wait for an available connection. */ multistate(easy, CURLM_STATE_CONNECT_PEND); - easy->result = CURLM_OK; + easy->result = CURLE_OK; break; }