From a1712d3963b573a4fb1f2c19e03ab6132741a07f Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Thu, 22 Dec 2005 16:58:08 +0000 Subject: [PATCH] More logging in STATUS parser to track down new mail detection problems. --- imap/command.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/imap/command.c b/imap/command.c index f928542a5..d4369240d 100644 --- a/imap/command.c +++ b/imap/command.c @@ -811,6 +811,8 @@ static void cmd_parse_status (IMAP_DATA* idata, char* s) return; } + dprint (2, (debugfile, "Running default STATUS handler\n")); + /* should perhaps move this code back to imap_buffy_check */ for (inc = Incoming; inc; inc = inc->next) { @@ -826,6 +828,9 @@ static void cmd_parse_status (IMAP_DATA* idata, char* s) if (mutt_account_match (&idata->conn->account, &mx.account) && mx.mbox && imap_mxcmp (mailbox, mx.mbox) == 0) { + dprint (2, (debugfile, "Found %s in buffy list (OV: %d ON: %d U: %d)\n", + mailbox, olduv, oldun, status->unseen)); + if (olduv && olduv == status->uidvalidity) { if (oldun < status->uidnext) -- 2.40.0