From: Michael Wallner Date: Fri, 15 Nov 2013 11:18:05 +0000 (+0000) Subject: fix clang warning X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2~5 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=197ec2a4bd9709453944ce157825f6d36e28fe5b;p=m6w6%2Fext-http fix clang warning --- diff --git a/php_http_client_curl.c b/php_http_client_curl.c index 21ee32e..2dfd3d7 100644 --- a/php_http_client_curl.c +++ b/php_http_client_curl.c @@ -586,7 +586,7 @@ static void php_http_curlm_event_callback(int socket, short action, void *event_ fprintf(stderr, "E"); #endif if (curl->useevents) { - CURLMcode rc = CURLE_OK; + CURLMcode rc = CURLM_OK; TSRMLS_FETCH_FROM_CTX(context->ts); while (CURLM_CALL_MULTI_PERFORM == (rc = curl_multi_socket_action(curl->handle, socket, etoca(action), &curl->unfinished)));