X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_header_parser.c;h=c0b4515fe39ac2f5d2843476915e7fadd7c322b9;hb=4062420a5e5d301db4a3d820be881e7675a242e1;hp=c48e7c6193d990d23197308dd74710e5978898d9;hpb=a07b79b1871054ca17e48b69445b4dc201f24662;p=m6w6%2Fext-http diff --git a/php_http_header_parser.c b/php_http_header_parser.c index c48e7c6..c0b4515 100644 --- a/php_http_header_parser.c +++ b/php_http_header_parser.c @@ -175,7 +175,7 @@ PHP_HTTP_API STATUS php_http_header_parser_parse(php_http_header_parser_t *parse INIT_PZVAL_ARRAY(&array, headers); php_http_pretty_key(parser->_key.str, parser->_key.len, 1, 1); - if (SUCCESS == zend_hash_find(headers, parser->_key.str, parser->_key.len + 1, (void *) &exist)) { + if (SUCCESS == zend_symtable_find(headers, parser->_key.str, parser->_key.len + 1, (void *) &exist)) { convert_to_array(*exist); add_next_index_stringl(*exist, parser->_val.str, parser->_val.len, 0); } else {