summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-01-19 18:03:33 +0000
committerAntony Dovgal <tony2001@php.net>2007-01-19 18:03:33 +0000
commit7e74ff0ff1a18e16143263775581f8d5c42d04d3 (patch)
tree917c484a715f0bdb78b94bef32da28c777a63aec /ext
parent504e9e31f39a82391eb566f7b245a4bbe2b6b6d7 (diff)
downloadphp-git-7e74ff0ff1a18e16143263775581f8d5c42d04d3.tar.gz
MFH
Diffstat (limited to 'ext')
-rw-r--r--ext/curl/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index 6690c73adc..2759c6d1aa 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -1268,10 +1268,10 @@ static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *retu
case CURLOPT_COOKIESESSION:
#if LIBCURL_VERSION_NUM > 0x070b01 /* CURLOPT_TCP_NODELAY is available since curl 7.11.2 */
case CURLOPT_TCP_NODELAY:
+#endif
convert_to_long_ex(zvalue);
error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue));
break;
-#endif
case CURLOPT_FOLLOWLOCATION:
convert_to_long_ex(zvalue);
if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) {