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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC