X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_message.c;h=371ecb7067d021785caa7677de75f135b6b45fdd;hp=55fdb81f0755fca64cdf6fe5b5d189fe9c863cae;hb=bc73bc67034bf875cdcace2bbc569350a3acbc80;hpb=02cd35aeca8624d9559657c1f662b9dcd45df2da diff --git a/src/php_http_message.c b/src/php_http_message.c index 55fdb81..371ecb7 100644 --- a/src/php_http_message.c +++ b/src/php_http_message.c @@ -1477,7 +1477,7 @@ static PHP_METHOD(HttpMessage, getResponseCode) PHP_HTTP_MESSAGE_OBJECT_INIT(obj); if (obj->message->type != PHP_HTTP_RESPONSE) { - php_error_docref(NULL, E_WARNING, "http\\Message is not if type response"); + php_error_docref(NULL, E_WARNING, "http\\Message is not of type response"); RETURN_FALSE; }