From 197ec2a4bd9709453944ce157825f6d36e28fe5b Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 15 Nov 2013 11:18:05 +0000 Subject: [PATCH] fix clang warning --- php_http_client_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); -- 2.30.2