]> granicus.if.org Git - php/commitdiff
Add support for CURLPROXY_SOCKS4
authorSara Golemon <pollita@php.net>
Mon, 20 Aug 2007 18:56:05 +0000 (18:56 +0000)
committerSara Golemon <pollita@php.net>
Mon, 20 Aug 2007 18:56:05 +0000 (18:56 +0000)
ext/curl/interface.c

index 3602dde15d9ba53f191bbd60ebc7545c7fd9f92d..0dfdee2ec2d6d27a3a7f4bd44d7c0a9bd18f32a5 100644 (file)
@@ -594,6 +594,9 @@ PHP_MINIT_FUNCTION(curl)
 #endif
 
        REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
+#ifdef CURLPROXY_SOCKS4
+       REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4);
+#endif
        REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
 
        REGISTER_CURL_CONSTANT(CURL_NETRC_OPTIONAL);