get_storage() -> php_http_curl_client_get_storage()
authorMichael Wallner <mike@php.net>
Sun, 9 Dec 2012 22:20:38 +0000 (22:20 +0000)
committerMichael Wallner <mike@php.net>
Sun, 9 Dec 2012 22:20:38 +0000 (22:20 +0000)
php_http_curl_client_pool.c

index 5e51a286bd64554528cc7ef1f60d1b1a428bc75c..5f175699fdf9e99086691a6e3f38708eec54247e 100644 (file)
@@ -62,7 +62,7 @@ static void php_http_curl_client_pool_responsehandler(php_http_client_pool_t *po
                        zval **request;
 
                        if (CURLE_OK != msg->data.result) {
-                               php_http_curl_client_storage_t *st = get_storage(msg->easy_handle);
+                               php_http_curl_client_storage_t *st = php_http_curl_client_get_storage(msg->easy_handle);
                                php_http_error(HE_WARNING, PHP_HTTP_E_CLIENT, "%s; %s (%s)", curl_easy_strerror(msg->data.result), STR_PTR(st->errorbuffer), STR_PTR(st->url));
                        }