diff options
author | Zeev Suraski <zeev@php.net> | 2000-12-22 12:57:09 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-12-22 12:57:09 +0000 |
commit | aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47 (patch) | |
tree | 5776ae30d4c8115659935309042b9784ba55d592 /ext/imap/php_imap.c | |
parent | 36eaad252fc5fe292cd4f071f76e7879ce21130c (diff) | |
download | php-git-aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47.tar.gz |
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...
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |