]> granicus.if.org Git - php/commitdiff
Fixed ZTS build.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 22 Oct 2002 18:54:09 +0000 (18:54 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 22 Oct 2002 18:54:09 +0000 (18:54 +0000)
ext/curl/curl.c

index ffbdf1b0fec819dd8e3b69b23d9539dadcb9fa90..99f17d873bcd4575e4871b77cd4f250eea1a277e 100644 (file)
@@ -304,6 +304,7 @@ static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx)
        php_curl       *ch     = (php_curl *) ctx;
        php_curl_write *t      = ch->handlers->write;
        size_t          length = size * nmemb;
+       TSRMLS_FETCH();
 
        switch (t->method) {
        case PHP_CURL_STDOUT: