From: foobar Date: Fri, 16 Mar 2001 13:17:54 +0000 (+0000) Subject: Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762 X-Git-Tag: php-4.0.6RC1~678 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21d158229b6d99920e547e53d5d29ef6c9d3b963;p=php Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762 --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 010004eb60..15275eb37e 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -366,6 +366,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) { @@ -1018,9 +1020,9 @@ PHP_FUNCTION(imap_num_recent) PHP_FUNCTION(imap_get_quota) { zval **streamind, **qroot; - 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();