X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_header.c;h=0ae381ea1469058fbd4e812effc7bcb3ccd4cb12;hp=709b85bb3cea22f528bd3b13bb2adaeaa77ec16e;hb=a41703eafb1f1bb7f2968e97d471499c986a471b;hpb=6139024663154e9d02f5418621f7ee7f20e00c0d diff --git a/php_http_header.c b/php_http_header.c index 709b85b..0ae381e 100644 --- a/php_http_header.c +++ b/php_http_header.c @@ -187,7 +187,7 @@ PHP_METHOD(HttpHeader, unserialize) zend_ulong idx; zend_hash_internal_pointer_reset(&ht); - switch (zend_hash_get_current_key_ex(&ht, &key, &idx, NULL)) { + switch (zend_hash_get_current_key(&ht, &key, &idx)) { case HASH_KEY_IS_STRING: zend_update_property_str(php_http_header_class_entry, getThis(), ZEND_STRL("name"), key); break;