Changeset 1288:bb3d151203d7 for buffy.c

Show
Ignore:
Timestamp:
1999-09-23 14:03:00 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Brendan Cully's latest changes:

* includes all of my last patch, since it hasn't been committed yet.
* catches a couple segfault problems if Context is NULL.
* works harder to avoid sending null STORE FLAGS commands. May not

be perfect yet, but also has extra debugging code.

* has the beginnings of a more interactive IMAP error handler.

Doesn't do anything yet, I'm just including it because I want to
get the rest of the patch out.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • buffy.c

    r1282 r1288  
    352352         * If the check is forced (eg on mailbox open), check only current 
    353353         * folder */ 
    354         if (do_imap_check || (force && !mutt_strcmp (Context->path, 
    355           tmp->path))) 
     354        if (do_imap_check || (force && Context && Context->path && 
     355          !mutt_strcmp (Context->path, tmp->path))) 
    356356        { 
    357357          tmp->new = 0; 
     
    363363        } 
    364364        else 
    365         { 
    366365          if (tmp->new) 
    367366            BuffyCount++; 
    368         } 
    369367 
    370368        break;