]> granicus.if.org Git - php/commitdiff
fix build
authorAntony Dovgal <tony2001@php.net>
Thu, 28 May 2009 09:45:20 +0000 (09:45 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 28 May 2009 09:45:20 +0000 (09:45 +0000)
ext/curl/interface.c

index c429c01ded00663dbd482c1b2ac9c48a18fb38d0..b927d41ec28f02545d7c99278782ff582c9b71a8 100644 (file)
@@ -2350,7 +2350,7 @@ static void _php_curl_close_ex(php_curl *ch TSRMLS_DC)
 
        /* Prevent crash inside cURL if passed file has already been closed */
        if (ch->handlers->std_err && Z_REFCOUNT_P(ch->handlers->std_err) <= 0) {
-               curl_easy_setopt(ch->cp, CURLOPT_STDERR, std_err);
+               curl_easy_setopt(ch->cp, CURLOPT_STDERR, stderr);
        }
 
        curl_easy_cleanup(ch->cp);