summaryrefslogtreecommitdiffstats
path: root/mbox.c
diff options
context:
space:
mode:
authorVincent Lefevre <vincent@vinc17.net>2018-07-24 03:52:41 +0200
committerVincent Lefevre <vincent@vinc17.net>2018-07-24 03:52:41 +0200
commit2030998edda4b820a2cd820e36ca1d99b675001d (patch)
tree299a72cdbb0be0cdfd2db418876af231a498d80b /mbox.c
parent1f3a9df87d1112d1e2d4e97fd00f02271df4e8cc (diff)
Add ctx->vsize = 0 in a couple of places.
It is not clear whether this is needed, but in both cases, the old value (if not 0) is obsolete. If there is a bug somewhere else about vsize, it will be easier to notice it.
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbox.c b/mbox.c
index 171689f0..8ed1d169 100644
--- a/mbox.c
+++ b/mbox.c
@@ -1246,6 +1246,7 @@ int mutt_reopen_mailbox (CONTEXT *ctx, int *index_hint)
ctx->hdrmax = 0; /* force allocation of new headers */
ctx->msgcount = 0;
ctx->vcount = 0;
+ ctx->vsize = 0;
ctx->tagged = 0;
ctx->deleted = 0;
ctx->new = 0;