fix type
[m6w6/ext-http] / http_request_api.c
index 904e3e404b4657227159742e4a804b5077f39db6..817fa3a805af01da86e35de18b6c575aeb79868a 100644 (file)
@@ -642,7 +642,7 @@ PHP_HTTP_API STATUS _http_request_prepare(http_request *request, HashTable *opti
                }
        }
 #if HTTP_CURL_VERSION(7,19,4)
-       if ((zoption = http_request_optionrequest, options, "noproxy", IS_STRING))) {
+       if ((zoption = http_request_option(request, options, "noproxy", IS_STRING))) {
                HTTP_CURL_OPT(CURLOPT_NOPROXY, Z_STRVAL_P(zoption));
        }
 #endif