Skip to content

Commit

Permalink
mlist: listarg: list empty Maildirs if no filtering took place
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jan 1, 2018
1 parent 3ebd4cc commit af7d675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ listarg(char *arg)
if (!maildir)
listdir(arg);

if (iflag && imatched) {
if (iflag && (imatched || (maildir && !flagset))) {
tdirs++;
printf("%6ld unseen %3ld flagged %6ld msg %s\n",
iunseen, iflagged, icount, arg);
Expand Down

0 comments on commit af7d675

Please sign in to comment.