diff --git a/lib/multi.c b/lib/multi.c index a680ce9165..cd99612ca1 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1054,7 +1054,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, /* add this handle to the list of connect-pending handles */ if(!Curl_llist_insert_next(multi->pending, multi->pending->tail, data)) - data->result = CURLM_OUT_OF_MEMORY; + data->result = CURLE_OUT_OF_MEMORY; else data->result = CURLE_OK; break;