diff options
author | Dan Kalowsky <kalowsky@php.net> | 2001-03-16 13:24:06 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2001-03-16 13:24:06 +0000 |
commit | 6a6318d4bef75950b91e6ca4b6de681019d860af (patch) | |
tree | 94acd589353e1d7c25de3bd6f7d9543468c4bd0c | |
parent | de3c9594e4c0457e0525672f41d38883ad7d841e (diff) | |
download | php-git-6a6318d4bef75950b91e6ca4b6de681019d860af.tar.gz |
This is to correct bug #9762, patch submitted by Bug reporter.
-rw-r--r-- | ext/imap/php_imap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 010004eb60..9c8618da61 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -22,6 +22,7 @@ | Andrew Skalski <askalski@chekinc.com> | | Hartmut Holzgraefe <hartmut@six.de> | | Jani Taskinen <sniper@iki.fi> | + | Daniel R Kalowsky <dank@deadmime.org> | | PHP 4.0 updates: Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ @@ -366,6 +367,8 @@ MESSAGELIST *mail_newmessagelist(void) */ void mail_getquota(MAILSTREAM *stream, char *qroot,QUOTALIST *qlist) { + IMAPLS_FETCH(); + /* this should only be run through once */ for (; qlist; qlist = qlist->next) { @@ -1022,6 +1025,8 @@ PHP_FUNCTION(imap_get_quota) int ind, ind_type; pils *imap_le_struct; + IMAPLS_FETCH(); + if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &streamind, &qroot) == FAILURE) { ZEND_WRONG_PARAM_COUNT(); } |