]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi.c: Fixed compilation warning from commit 3c8c873252
authorSteve Holme <steve_holme@hotmail.com>
Sat, 6 Sep 2014 23:20:40 +0000 (00:20 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 6 Sep 2014 23:21:36 +0000 (00:21 +0100)
warning: implicit conversion from enumeration type 'CURLMcode' to
different enumeration type 'CURLcode'

lib/multi.c

index a680ce9165e18d24a4dc8a6d66eabcdca397a6d9..cd99612ca15ab8f5e51ed6ffac25fca6dbf751e8 100644 (file)
@@ -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;