commit 11bf385f5a84d0d121ad88f790ae72b3f6dc4895
parent 11f3731923ecaf1a704950bca0336acee7204916
Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 21 Mar 2013 19:10:42 +0100
Be quiet on folder printing too.
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/folder.c b/folder.c
@@ -105,11 +105,14 @@ foldermain(int argc, char *argv[])
imap_free(imap);
return 1;
}
- } else
+ } else {
results = folders;
+ }
- forllist(results, elem)
- printf("%s\n", elem->key);
+ forllist(results, elem) {
+ if (!(status & BEQUIET))
+ printf("%s\n", elem->key);
+ }
llist_free(folders);
if (argc > 0)
llist_free(results);