fix clang warning
authorMichael Wallner <mike@php.net>
Fri, 15 Nov 2013 11:18:05 +0000 (11:18 +0000)
committerMichael Wallner <mike@php.net>
Fri, 15 Nov 2013 11:18:05 +0000 (11:18 +0000)
php_http_client_curl.c

index 21ee32eefbc23cf9bb49ba9d68c6a4d29fba647c..2dfd3d771b5f2788448da7b3da14cff16e162d1d 100644 (file)
@@ -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)));