X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_parser.c;h=3b55efbab7b295a9cd210fa57cb409769a3a97e6;hp=7cdbdea2d4af8ed8a7bdc00d4f44b0fa4d3076f9;hb=refs%2Fheads%2Fv2.3.x;hpb=90b1ee501344343749acd04e8fba9cae30335846 diff --git a/php_http_message_parser.c b/php_http_message_parser.c index 7cdbdea..3b55efb 100644 --- a/php_http_message_parser.c +++ b/php_http_message_parser.c @@ -139,7 +139,7 @@ php_http_message_parser_state_t php_http_message_parser_parse_stream(php_http_me case PHP_HTTP_MESSAGE_PARSER_STATE_HEADER_DONE: /* read line */ php_stream_get_line(s, buf->data + buf->used, buf->free, &justread); - /* of we fail reading a whole line, try a single char */ + /* if we fail reading a whole line, try a single char */ if (!justread) { int c = php_stream_getc(s);