X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=gen_curlinfo.php;h=fea14bbfb9aeed7cbbb8a789b7ec8ee495f11702;hp=726fd48250c84dac3adc3d413584bef47253f720;hb=cc74cdc4ff1334afa39ff12001ba94309346df54;hpb=4957436be59f65fae9cdbaec1dc865acc680862f diff --git a/gen_curlinfo.php b/gen_curlinfo.php index 726fd48..fea14bb 100644 --- a/gen_curlinfo.php +++ b/gen_curlinfo.php @@ -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"))); ?>