From 7887a2a98a2795120e93d54f33249a5f27e4a86e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 15 Feb 2015 20:35:39 +0100 Subject: [PATCH] add missing constant --- php_http_message_parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/php_http_message_parser.c b/php_http_message_parser.c index 3ecad86..1bf2d29 100644 --- a/php_http_message_parser.c +++ b/php_http_message_parser.c @@ -673,6 +673,7 @@ PHP_MINIT_FUNCTION(http_message_parser) zend_declare_class_constant_long(php_http_message_parser_class_entry, ZEND_STRL("STATE_BODY_LENGTH"), PHP_HTTP_MESSAGE_PARSER_STATE_BODY_LENGTH TSRMLS_CC); zend_declare_class_constant_long(php_http_message_parser_class_entry, ZEND_STRL("STATE_BODY_CHUNKED"), PHP_HTTP_MESSAGE_PARSER_STATE_BODY_CHUNKED TSRMLS_CC); zend_declare_class_constant_long(php_http_message_parser_class_entry, ZEND_STRL("STATE_BODY_DONE"), PHP_HTTP_MESSAGE_PARSER_STATE_BODY_DONE TSRMLS_CC); + zend_declare_class_constant_long(php_http_message_parser_class_entry, ZEND_STRL("STATE_UPDATE_CL"), PHP_HTTP_MESSAGE_PARSER_STATE_UPDATE_CL TSRMLS_CC); zend_declare_class_constant_long(php_http_message_parser_class_entry, ZEND_STRL("STATE_DONE"), PHP_HTTP_MESSAGE_PARSER_STATE_DONE TSRMLS_CC); return SUCCESS; -- 2.30.2