Bug #3902: imap_clearflag_all never returns TRUE (success)
| From: | ken at oceana dot com | Date: | Wed, 22 Mar 2000 20:35:45 +0000 |
| Subject: | Bug #3902: imap_clearflag_all never returns TRUE (success) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17152@lists.php.net to get a copy of this message | ||
From: ken@oceana.com
Operating system:
PHP version: 3.0.15
PHP Bug Type: IMAP related
Bug description: imap_clearflag_all never returns TRUE (success)
The return value of imap_clearflag_all() is always FALSE. This patch fixes the small oversight.
*** imap.c.orig Wed Mar 22 15:11:13 2000
--- imap.c Wed Mar 22 15:12:03 2000
***************
*** 2877,2882 ****
--- 2877,2883 ----
RETURN_FALSE;
}
mail_clearflag_full(imap_le_struct->imap_stream,sequence->value.str.val,flag->value.str.val,myargc
== 4 ? flags->value.lval : NIL);
+ RETURN_TRUE;
}
/* }}} */