- fix hash keys
authorMichael Wallner <mike@php.net>
Wed, 7 Feb 2007 16:07:24 +0000 (16:07 +0000)
committerMichael Wallner <mike@php.net>
Wed, 7 Feb 2007 16:07:24 +0000 (16:07 +0000)
http_persistent_handle_api.c

index 1b451e7..b07caff 100644 (file)
@@ -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;