X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env_response.c;h=34bc75393732a41b6aff9c86d48b0217da577503;hp=f9e8c4cb43ce7045679a3963810e5ac06270df9c;hb=a41703eafb1f1bb7f2968e97d471499c986a471b;hpb=6139024663154e9d02f5418621f7ee7f20e00c0d diff --git a/php_http_env_response.c b/php_http_env_response.c index f9e8c4c..34bc753 100644 --- a/php_http_env_response.c +++ b/php_http_env_response.c @@ -502,7 +502,7 @@ static ZEND_RESULT_CODE php_http_env_response_send_head(php_http_env_response_t zend_ulong index = 0; zend_hash_internal_pointer_reset(result); - if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(result, &key_str, &index, NULL)) { + if (HASH_KEY_IS_STRING == zend_hash_get_current_key(result, &key_str, &index)) { if (zend_string_equals_literal(key_str, "gzip")) { if (!(r->content.encoder = php_http_encoding_stream_init(NULL, php_http_encoding_stream_get_deflate_ops(), PHP_HTTP_DEFLATE_TYPE_GZIP))) { ret = FAILURE;