From e8652cab0eab64371e28e6525dea8840e2fb77f5 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Wed, 21 Dec 2005 00:13:22 +0000 Subject: [PATCH] Compare full mailbox names when doing IMAP buffy check, not up to the length of the STATUS response. --- imap/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap/command.c b/imap/command.c index f943db321..5783b3b08 100644 --- a/imap/command.c +++ b/imap/command.c @@ -822,7 +822,7 @@ static void cmd_parse_status (IMAP_DATA* idata, char* s) } if (mutt_account_match (&idata->conn->account, &mx.account) && mx.mbox - && mutt_strncmp (mailbox, mx.mbox, strlen (mailbox)) == 0) + && imap_mxcmp (mailbox, mx.mbox) == 0) { if (olduv && olduv == status->uidvalidity) { -- 2.40.0