php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3902 imap_clearflag_all never returns TRUE (success)
Submitted: 2000-03-22 15:35 UTC Modified: 2000-03-25 23:34 UTC
From: ken at oceana dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 3.0.15 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 21 = ?
Subscribe to this entry?

 
 [2000-03-22 15:35 UTC] ken at oceana dot com
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;
  }
  /* }}} */
  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-25 23:34 UTC] chagenbu at cvs dot php dot net
Fixed in CVS. Thanks for the report!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC