]> granicus.if.org Git - curl/commitdiff
multi.c: fix compilation error
authorSteve Holme <steve_holme@hotmail.com>
Wed, 20 Mar 2013 23:36:46 +0000 (23:36 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 20 Mar 2013 23:36:46 +0000 (23:36 +0000)
warning: conversion from enumeration type to different enumeration type

lib/multi.c

index 3e2583a21ef60e8273305a2a81b6ca931a9d5c00..2d1d7b5b267d17bdbcc6f6e3c9cb29781d96dddc 100644 (file)
@@ -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;
       }