X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_api.c;h=dd2cfff2c55035cd949266aa6c37f5f984636940;hp=76e1d22dbe6a3ba17e3d4ab2467ba9b9eb51f247;hb=456dd6f5e057a0fc4ff3dbaf006d71cf5c247f19;hpb=e434da0fad7db62d86c236c68b22150165f2647a diff --git a/http_message_api.c b/http_message_api.c index 76e1d22..dd2cfff 100644 --- a/http_message_api.c +++ b/http_message_api.c @@ -108,7 +108,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char char *decoded, *end; size_t decoded_len; - if (end = http_chunked_decode(body, message_length - header_length, &decoded, &decoded_len)) { + if (end = http_chunked_decode(body, message_length - header_length, &decoded, &decoded_len)) { phpstr_from_string_ex(PHPSTR(msg), decoded, decoded_len); efree(decoded); if (nested = http_message_parse_nested(msg, end, message + message_length - end)) {