cvs: php-src(PHP_5_2) /ext/curl interface.c
| From: | Antony Dovgal | Date: | Wed, 27 May 2009 09:57:13 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/curl interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58281@lists.php.net to get a copy of this message | ||
tony2001 Wed May 27 09:57:13 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/curl interface.c
Log:
fix build
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/interface.c?r1=1.62.2.14.2.51&r2=1.62.2.14.2.52&diff_format=u
Index: php-src/ext/curl/interface.c
diff -u php-src/ext/curl/interface.c:1.62.2.14.2.51 php-src/ext/curl/interface.c:1.62.2.14.2.52
--- php-src/ext/curl/interface.c:1.62.2.14.2.51 Tue May 26 15:50:44 2009
+++ php-src/ext/curl/interface.c Wed May 27 09:57:13 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interface.c,v 1.62.2.14.2.51 2009/05/26 15:50:44 jani Exp $ */
+/* $Id: interface.c,v 1.62.2.14.2.52 2009/05/27 09:57:13 tony2001 Exp $ */
#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
@@ -2061,7 +2061,7 @@
#endif
/* Prevent crash inside cURL if passed file has already been closed */
- if (ch->handlers->stderr && Z_REFCOUNT_P(ch->handlers->stderr) <= 0) {
+ if (ch->handlers->stderr && ch->handlers->stderr->refcount <= 0) {
curl_easy_setopt(ch->cp, CURLOPT_STDERR, stderr);
}