From: Michael Wallner Date: Sun, 18 Jan 2015 10:48:18 +0000 (+0100) Subject: fix typo X-Git-Tag: RELEASE_3_0_0_RC1~94 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=43334172c570fda94ca0bfd1fc48291ad5c2e671 fix typo --- diff --git a/php_http_message.c b/php_http_message.c index fdfc3d6..0c5b1b9 100644 --- a/php_http_message.c +++ b/php_http_message.c @@ -1017,7 +1017,7 @@ static PHP_METHOD(HttpMessage, __construct) msg = php_http_message_parse(NULL, zs_msg->val, zs_msg->len, greedy); if (!msg && !EG(exception)) { - php_http_throw(bad_message, "Could not parse message: %.*s", MIN(25, zs_msg->len), zs_msg->len); + php_http_throw(bad_message, "Could not parse message: %.*s", MIN(25, zs_msg->len), zs_msg->val); } zend_string_release(zs_msg); }