imap/2034: `recall-message' not working correctly
The following reply was made to PR imap/2034; it has been noted by GNATS.
From: Brendan Cully <brendan@xxxxxxxxxx>
To: j+mutt@xxxxxxxxxxxxx, bug-any@xxxxxxxxxxxxx
Cc:
Subject: imap/2034: `recall-message' not working correctly
Date: Fri, 12 Aug 2005 15:01:01 -0700
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Care to give the attached patch a try? I think it should work around
the bug.
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="saslirbug.diff"
? .cdtproject
? .project
Index: imap/auth_sasl.c
===================================================================
RCS file: /home/roessler/cvs/mutt/imap/auth_sasl.c,v
retrieving revision 3.7
diff -u -p -r3.7 auth_sasl.c
--- imap/auth_sasl.c 3 Feb 2005 17:01:44 -0000 3.7
+++ imap/auth_sasl.c 12 Aug 2005 21:53:27 -0000
@@ -150,7 +150,10 @@ imap_auth_res_t imap_auth_sasl (IMAP_DAT
}
}
- if (!client_start)
+ /* client-start is only available with the SASL-IR extension, but
+ * SASL 2.1 seems to want to use it regardless, at least for DIGEST
+ * fast reauth. Override if the server sent an initial continuation */
+ if (!client_start || buf[0])
{
do
{
--a8Wt8u1KmwUX3Y2C--