fix type
authorMichael Wallner <mike@php.net>
Thu, 20 Aug 2009 11:17:31 +0000 (11:17 +0000)
committerMichael Wallner <mike@php.net>
Thu, 20 Aug 2009 11:17:31 +0000 (11:17 +0000)
http_request_api.c

index 904e3e4..817fa3a 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 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
                HTTP_CURL_OPT(CURLOPT_NOPROXY, Z_STRVAL_P(zoption));
        }
 #endif