]> granicus.if.org Git - php/commitdiff
- Fix ZTS build
authorFelipe Pena <felipe@php.net>
Sun, 26 Jul 2009 23:44:59 +0000 (23:44 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 26 Jul 2009 23:44:59 +0000 (23:44 +0000)
ext/curl/interface.c

index fccf72daa0eb4898d296c7c871a7047a46e6bb6b..3ee3435db27cc535b599e35c622a83c299604c13 100644 (file)
@@ -698,7 +698,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++;