From 837732acc52c5d4a308915d97d792fcf0cb6aa06 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 26 Jul 2009 23:44:59 +0000 Subject: [PATCH] - Fix ZTS build --- ext/curl/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/curl/interface.c b/ext/curl/interface.c index c22b0390aad..620eae4284b 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -820,7 +820,7 @@ PHP_MINIT_FUNCTION(curl) 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++;