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=597b66905b295d3a7ed408a92751a5f29e19fe01;hpb=ad1dfac848dbbb295151c22b4f6fbcad13ce7a56 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; }