X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_response.c;h=34748aaa3e4a0b8ea4f53324c5eb2c2ce3885145;hp=5acddae163ab782a63f1312808b70c1beffe363d;hb=a8b478a15ba6febd3f50b31f8763772ca9327f18;hpb=0be5ad93bb15aa00a4e55e32f724d37f2a6262a7 diff --git a/src/php_http_client_response.c b/src/php_http_client_response.c index 5acddae..34748aa 100644 --- a/src/php_http_client_response.c +++ b/src/php_http_client_response.c @@ -105,7 +105,7 @@ static PHP_METHOD(HttpClientResponse, getTransferInfo) /* request completed? */ if (Z_TYPE_P(info) != IS_OBJECT) { - php_http_throw(bad_method_call, "Incomplete state", NULL); + php_http_throw(bad_method_call, "Incomplete state"); return; }