summary refs log tree commit diff
path: root/mlist.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-05-15 18:49:04 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-05-15 18:51:25 +0200
commit7cd43f4203374d69bae25a2c3757505c437d3722 (patch)
tree1b8ad543256409b782052f87002d69921170fede /mlist.c
parentb79e38b6869fa675a33b7b97fbb129b928494082 (diff)
downloadmblaze-7cd43f4203374d69bae25a2c3757505c437d3722.tar.gz
mblaze-7cd43f4203374d69bae25a2c3757505c437d3722.tar.xz
mblaze-7cd43f4203374d69bae25a2c3757505c437d3722.zip
mlist: fix dangling else warning
Diffstat (limited to 'mlist.c')
-rw-r--r--mlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlist.c b/mlist.c
index fd4fde1..3cb082f 100644
--- a/mlist.c
+++ b/mlist.c
@@ -288,13 +288,14 @@ usage:
 			listarg(argv[i]);
 	}
 
-	if (iflag && tdirs > 1)
+	if (iflag && tdirs > 1) {
 		if (flagset)
 			printf("%6ld matched  %6ld unseen  %3ld flagged  %6ld msg\n",
 			    tmatched, tunseen, tflagged, tcount);
 		else
 			printf("%6ld unseen  %3ld flagged  %6ld msg\n",
 			    tunseen, tflagged, tcount);
+	}
 
 	return 0;
 }