felipe Sun, 26 Jul 2009 23:44:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286381
Log:
- Fix ZTS build
Changed paths:
U php/php-src/branches/PHP_5_2/ext/curl/interface.c
U php/php-src/branches/PHP_5_3/ext/curl/interface.c
U php/php-src/trunk/ext/curl/interface.c
Modified: php/php-src/branches/PHP_5_2/ext/curl/interface.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/curl/interface.c 2009-07-26 23:22:27 UTC
(rev 286380)
+++ php/php-src/branches/PHP_5_2/ext/curl/interface.c 2009-07-26 23:44:59 UTC
(rev 286381)
@@ -698,7 +698,7 @@
while (*p != NULL) {
/* Do not enable cURL "file" protocol and make sure
cURL is always used when --with-curlwrappers is enabled */
if (strncasecmp(*p, "file", sizeof("file")-1) != 0) {
- php_unregister_url_stream_wrapper(*p);
+ php_unregister_url_stream_wrapper(*p TSRMLS_CC);
php_register_url_stream_wrapper(*p,
&php_curl_wrapper TSRMLS_CC);
}
(void) *p++;
Modified: php/php-src/branches/PHP_5_3/ext/curl/interface.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/curl/interface.c 2009-07-26 23:22:27 UTC
(rev 286380)
+++ php/php-src/branches/PHP_5_3/ext/curl/interface.c 2009-07-26 23:44:59 UTC
(rev 286381)
@@ -820,7 +820,7 @@
while (*p != NULL) {
/* Do not enable cURL "file" protocol and make sure
cURL is always used when --with-curlwrappers is enabled */
if (strncasecmp(*p, "file", sizeof("file")-1) != 0) {
- php_unregister_url_stream_wrapper(*p);
+ php_unregister_url_stream_wrapper(*p TSRMLS_CC);
php_register_url_stream_wrapper(*p,
&php_curl_wrapper TSRMLS_CC);
}
(void) *p++;
Modified: php/php-src/trunk/ext/curl/interface.c
===================================================================
--- php/php-src/trunk/ext/curl/interface.c 2009-07-26 23:22:27 UTC (rev
286380)
+++ php/php-src/trunk/ext/curl/interface.c 2009-07-26 23:44:59 UTC (rev
286381)
@@ -820,7 +820,7 @@
while (*p != NULL) {
/* Do not enable cURL "file" protocol and make sure
cURL is always used when --with-curlwrappers is enabled */
if (strncasecmp(*p, "file", sizeof("file")-1) != 0) {
- php_unregister_url_stream_wrapper(*p);
+ php_unregister_url_stream_wrapper(*p TSRMLS_CC);
php_register_url_stream_wrapper(*p,
&php_curl_wrapper TSRMLS_CC);
}
(void) *p++;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php