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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ken at oceana dot com
New email:
PHP Version: OS:

 

 [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: Tue May 07 20:01:32 2024 UTC