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
 [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-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 03:03:34 2021 UTC