]> granicus.if.org Git - php/commitdiff
Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762
authorfoobar <sniper@php.net>
Fri, 16 Mar 2001 13:17:54 +0000 (13:17 +0000)
committerfoobar <sniper@php.net>
Fri, 16 Mar 2001 13:17:54 +0000 (13:17 +0000)
ext/imap/php_imap.c

index 010004eb6048ec97dbf2d0cfa07c504d4184e6b3..15275eb37ee169f43077981388ef60eeb3b53d05 100644 (file)
@@ -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();