summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-03-16 13:17:54 +0000
committerfoobar <sniper@php.net>2001-03-16 13:17:54 +0000
commit21d158229b6d99920e547e53d5d29ef6c9d3b963 (patch)
treef7a795a1d99646c77163e61ba2cd8e591515079f /ext/imap/php_imap.c
parent59eb57e42afe74605fcc6d4795e79fdcfc8833a7 (diff)
downloadphp-git-21d158229b6d99920e547e53d5d29ef6c9d3b963.tar.gz
Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c4
1 files changed, 3 insertions, 1 deletions
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();