Changeset 1288:bb3d151203d7 for buffy.c
Legend:
- Unmodified
- Added
- Removed
-
buffy.c
r1282 r1288 352 352 * If the check is forced (eg on mailbox open), check only current 353 353 * 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))) 356 356 { 357 357 tmp->new = 0; … … 363 363 } 364 364 else 365 {366 365 if (tmp->new) 367 366 BuffyCount++; 368 }369 367 370 368 break;
