Show
Ignore:
Timestamp:
2007-04-02 16:18:37 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Reset uidnext unconditionally in IMAP new mail check.
Reverts a logic error introduced in [0cb476dc70a7]

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/command.c

    r5044 r5047  
    902902        { 
    903903          if (oldun < status->uidnext) 
    904           { 
    905904            inc->new = status->unseen; 
    906             /* forced back to keep detecting new mail until the mailbox is opened */ 
    907             status->uidnext = oldun; 
    908           } 
    909905        } 
    910906        else if (!olduv && !oldun) 
     
    914910          inc->new = status->unseen; 
    915911 
     912        /* forced back to keep detecting new mail until the mailbox is opened */ 
     913        status->uidnext = oldun; 
     914 
    916915        FREE (&value); 
    917916        return;