From aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 22 Dec 2000 12:57:09 +0000 Subject: Heads up people! Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok... --- ext/imap/php_imap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/imap/php_imap.c') diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 520aa712b3..ca4b274a03 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -3109,7 +3109,7 @@ PHP_FUNCTION(imap_mail_compose) zend_hash_internal_pointer_reset(Z_ARRVAL_PP(body)); zend_hash_get_current_data(Z_ARRVAL_PP(body), (void **) &data); - zend_hash_get_current_key(Z_ARRVAL_PP(body), &key, &ind); + zend_hash_get_current_key(Z_ARRVAL_PP(body), &key, &ind, 0); /* FIXME: is this necessary? we're not using key/ind */ if (Z_TYPE_PP(data) == IS_ARRAY) { bod=mail_newbody(); @@ -3154,7 +3154,7 @@ PHP_FUNCTION(imap_mail_compose) zend_hash_move_forward(Z_ARRVAL_PP(body)); while(zend_hash_get_current_data(Z_ARRVAL_PP(body), (void **) &data) == SUCCESS) { - zend_hash_get_current_key(Z_ARRVAL_PP(body), &key, &ind); + zend_hash_get_current_key(Z_ARRVAL_PP(body), &key, &ind, 0); /* FIXME: Is this necessary? We're not using key/ind */ if (Z_TYPE_PP(data) == IS_ARRAY) { if (!toppart) { bod->nested.part=mail_newbody_part(); -- cgit v1.2.1