cvs: php4 /ext/imap php_imap.c

From: Date: Fri, 16 Mar 2001 13:17:55 +0000
Subject: cvs: php4 /ext/imap php_imap.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4608@lists.php.net to get a copy of this message
sniper Fri Mar 16 05:17:55 2001 EDT Modified files: /php4/ext/imap php_imap.c Log: Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762 Index: php4/ext/imap/php_imap.c diff -u php4/ext/imap/php_imap.c:1.62 php4/ext/imap/php_imap.c:1.63 --- php4/ext/imap/php_imap.c:1.62 Wed Feb 28 23:06:54 2001 +++ php4/ext/imap/php_imap.c Fri Mar 16 05:17:54 2001 @@ -25,7 +25,7 @@ | PHP 4.0 updates: Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_imap.c,v 1.62 2001/03/01 07:06:54 chagenbu Exp $ */ +/* $Id: php_imap.c,v 1.63 2001/03/16 13:17:54 sniper Exp $ */ #define IMAP41 @@ -366,6 +366,8 @@ */ 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_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();

« previous php.cvs (#4608) next »