projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ac85eae
)
fix typo
author
Michael Wallner
<mike@php.net>
Sun, 18 Jan 2015 10:48:18 +0000
(11:48 +0100)
committer
Michael Wallner
<mike@php.net>
Sun, 18 Jan 2015 10:48:18 +0000
(11:48 +0100)
php_http_message.c
patch
|
blob
|
history
diff --git
a/php_http_message.c
b/php_http_message.c
index fdfc3d640594d85e7c454ffdba1af8ac676e957d..0c5b1b9736f49c2388423d4ced29a7ccd5b379ba 100644
(file)
--- 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);
}