From 80bab9d9394939c43e61300621aa7c72ab901ef7 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Tue, 21 Dec 1999 17:14:31 +0000 Subject: We're using ZVAL's now. --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/main.c b/main/main.c index 2524c235df..d620520de3 100644 --- a/main/main.c +++ b/main/main.c @@ -1173,7 +1173,7 @@ void _php_build_argv(char *s ELS_DC) arr = (pval *) emalloc(sizeof(pval)); arr->value.ht = (HashTable *) emalloc(sizeof(HashTable)); - if (zend_hash_init(arr->value.ht, 0, NULL, PVAL_PTR_DTOR, 0) == FAILURE) { + if (zend_hash_init(arr->value.ht, 0, NULL, ZVAL_PTR_DTOR, 0) == FAILURE) { php_error(E_WARNING, "Unable to create argv array"); } else { arr->type = IS_ARRAY; -- cgit v1.2.1