From a74cda5468ceb076644cbcdec7b99324ec8b4f8f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 23 Dec 2009 12:55:45 +0000 Subject: [PATCH] remove oboslete code git-svn-id: http://svn.php.net/repository/pecl/ares/trunk@292530 c90b9560-bf6c-de11-be94-00142212c4b1 --- ares.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ares.c b/ares.c index fce9a82..d3c7d25 100644 --- a/ares.c +++ b/ares.c @@ -737,17 +737,6 @@ local int php_ares_parse(const unsigned char *abuf, int alen, zval *result TSRML if (entry) { add_next_index_zval(result, entry); - /* - if (SUCCESS == zend_hash_find(Z_ARRVAL_P(result), php_ares_T_names[type], strlen(php_ares_T_names[type])+1, (void *) &entry_ptr)) { - add_next_index_zval(*entry_ptr, entry); - } else { - zval *array; - - MAKE_STD_ZVAL(array); - array_init(array); - add_next_index_zval(array, entry); - add_assoc_zval(result, php_ares_T_names[type], array); - }*/ } } -- 2.30.2