From: Sterling Hughes Date: Wed, 18 Jun 2003 21:02:02 +0000 (+0000) Subject: recognize CURLOPT_PORT X-Git-Tag: RELEASE_1_0_2~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8eef152174597a9c173a6e11b69329892d131d21;p=php recognize CURLOPT_PORT --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 7ef0596e59..aa5a4b5f87 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -773,6 +773,7 @@ PHP_FUNCTION(curl_setopt) case CURLOPT_HTTPGET: case CURLOPT_HTTP_VERSION: case CURLOPT_CRLF: + case CURLOPT_PORT: convert_to_long_ex(zvalue); error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue)); break;