From: Michael Wallner Date: Wed, 7 Feb 2007 16:07:24 +0000 (+0000) Subject: - fix hash keys X-Git-Tag: RELEASE_1_5_0_RC1~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=18dc0cdcdaf502f2cf2ad9e824212cfab0df7808;p=m6w6%2Fext-http - fix hash keys --- diff --git a/http_persistent_handle_api.c b/http_persistent_handle_api.c index 1b451e7..b07caff 100644 --- a/http_persistent_handle_api.c +++ b/http_persistent_handle_api.c @@ -253,9 +253,9 @@ PHP_HTTP_API HashTable *_http_persistent_handle_statall_ex(HashTable *ht) FOREACH_HASH_KEYVAL(pos2, provider->list, key2, list) { MAKE_STD_ZVAL(zentry); ZVAL_LONG(zentry, zend_hash_num_elements(*list)); - zend_hash_quick_add(Z_ARRVAL_P(zlist), key2.str, key2.len, key2.num, (void *) &zentry, sizeof(zval *), NULL); + zend_hash_add(Z_ARRVAL_P(zlist), key2.str, key2.len, (void *) &zentry, sizeof(zval *), NULL); } - zend_hash_quick_add(ht, key1.str, key1.len, key1.num, (void *) &zlist, sizeof(zval *), NULL); + zend_hash_add(ht, key1.str, key1.len, (void *) &zlist, sizeof(zval *), NULL); } } else if (ht) { ht = NULL;