summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-29 05:43:19 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-29 05:43:19 +0000
commit18b9d02a09666e31fcb6d0858eb862521145c848 (patch)
tree7eb6333f98685f9de65472985602d3f7f3f29567 /status.c
parent4f2a8707c16d2b1fbf5ca9d06e1aeaecbf97b052 (diff)
Don't check the number of postponed messages every time the status
line is updated - this gets quite slow when used with slow IMAP connections.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index 1f11fb27..a53703de 100644
--- a/status.c
+++ b/status.c
@@ -176,7 +176,7 @@ status_format_str (char *buf, size_t buflen, char op, const char *src,
break;
case 'p':
- count = mutt_num_postponed ();
+ count = PostCount;
if (!optional)
{
snprintf (fmt, sizeof (fmt), "%%%sd", prefix);