]> granicus.if.org Git - php/commitdiff
- MFH: add CURLPROXY_SOCKS4
authorPierre Joye <pajoye@php.net>
Mon, 18 May 2009 11:18:59 +0000 (11:18 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 18 May 2009 11:18:59 +0000 (11:18 +0000)
ext/curl/interface.c

index 3203c3325e240b9513c30528ab43970c9f0ac070..802da8fae81ca3aa7b03bf650795c49387e489f5 100644 (file)
@@ -710,6 +710,7 @@ PHP_MINIT_FUNCTION(curl)
        REGISTER_CURL_CONSTANT(CURLE_FTP_SSL_FAILED);
 #endif
        REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
+       REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4);
        REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
 
        REGISTER_CURL_CONSTANT(CURL_NETRC_OPTIONAL);