summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-07-26 23:44:59 +0000
committerFelipe Pena <felipe@php.net>2009-07-26 23:44:59 +0000
commit837732acc52c5d4a308915d97d792fcf0cb6aa06 (patch)
tree48d0a62da7686bc5671c94fdb0f8f791509f799d /ext/curl
parente2d044db40b78b09b2e5465ba7b28c6f67900599 (diff)
downloadphp-git-837732acc52c5d4a308915d97d792fcf0cb6aa06.tar.gz
- Fix ZTS build
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index c22b0390aa..620eae4284 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++;