allow interrupted message parsing from stream
[m6w6/ext-http] / gen_curlinfo.php
index 726fd48250c84dac3adc3d413584bef47253f720..fea14bbfb9aeed7cbbb8a789b7ec8ee495f11702 100644 (file)
@@ -91,8 +91,8 @@ foreach ($infos as $info) {
        if (isset($ifdefs[$short])) printf("#endif\n");
 }
 
-file_put_contents("php_http_curl.c", 
+file_put_contents("php_http_curl_client.c", 
        preg_replace('/(\/\* BEGIN::CURLINFO \*\/\n).*(\n\s*\/\* END::CURLINFO \*\/)/s', '$1'. ob_get_contents() .'$2',
-               file_get_contents("php_http_curl.c")));
+               file_get_contents("php_http_curl_client.c")));
 
 ?>