summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-06-18 21:02:02 +0000
committerSterling Hughes <sterling@php.net>2003-06-18 21:02:02 +0000
commit8eef152174597a9c173a6e11b69329892d131d21 (patch)
tree93c6fe0505868daa6f679f1f2937e6d40905a36f /ext/curl
parent20ee07ef92228f3b8cce9f864f1f8aec2fd8cf81 (diff)
downloadphp-git-8eef152174597a9c173a6e11b69329892d131d21.tar.gz
recognize CURLOPT_PORT
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/interface.c1
1 files changed, 1 insertions, 0 deletions
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;