summaryrefslogtreecommitdiffstats
path: root/mbox.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2009-06-10 17:44:14 +0200
committerRocco Rutte <pdmef@gmx.net>2009-06-10 17:44:14 +0200
commit50299f8db934302a35e3938d4d6cce97d222fc88 (patch)
tree5b1ec39ab69175688289941a1be53558249cfbdc /mbox.c
parent9ad11765d15c8b28d7159fe86672b73c1591a8b3 (diff)
Only print messages about CONTEXT when quiet flag not set
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbox.c b/mbox.c
index db2cda63..36d496c8 100644
--- a/mbox.c
+++ b/mbox.c
@@ -935,7 +935,8 @@ int mbox_sync_mailbox (CONTEXT *ctx, int *index_hint)
/* copy the temp mailbox back into place starting at the first
* change/deleted message
*/
- mutt_message _("Committing changes...");
+ if (!ctx->quiet)
+ mutt_message _("Committing changes...");
i = mutt_copy_stream (fp, ctx->fp);
if (ferror (ctx->fp))
@@ -1065,7 +1066,8 @@ int mutt_reopen_mailbox (CONTEXT *ctx, int *index_hint)
/* silent operations */
ctx->quiet = 1;
- mutt_message _("Reopening mailbox...");
+ if (!ctx->quiet)
+ mutt_message _("Reopening mailbox...");
/* our heuristics require the old mailbox to be unsorted */
if (Sort != SORT_ORDER)