cvs: php-src /ext/curl interface.c
| From: | Antony Dovgal | Date: | Fri, 19 Jan 2007 18:03:25 +0000 |
| Subject: | cvs: php-src /ext/curl interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42812@lists.php.net to get a copy of this message | ||
tony2001 Fri Jan 19 18:03:25 2007 UTC
Modified files:
/php-src/ext/curl interface.c
Log:
improve the fix
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/interface.c?r1=1.108&r2=1.109&diff_format=u
Index: php-src/ext/curl/interface.c
diff -u php-src/ext/curl/interface.c:1.108 php-src/ext/curl/interface.c:1.109
--- php-src/ext/curl/interface.c:1.108 Fri Jan 19 15:38:02 2007
+++ php-src/ext/curl/interface.c Fri Jan 19 18:03:25 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interface.c,v 1.108 2007/01/19 15:38:02 tony2001 Exp $ */
+/* $Id: interface.c,v 1.109 2007/01/19 18:03:25 tony2001 Exp $ */
#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
@@ -1273,10 +1273,10 @@
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)) {