summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c5
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();
}