aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index ca08e9b6..55998ae2 100644
--- a/imap.c
+++ b/imap.c
@@ -563,7 +563,10 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
* Time to authenticate the user.
* Try the protocol variants that don't require passwords first.
*/
- ok = PS_AUTHFAIL;
+ ok = PS_AUTHFAIL; /* formally, never read,
+ but let's leave this in place as a safe default
+ for future maintenance */
+ (void)ok;
/* Yahoo hack - we'll just try ID if it was offered by the server,
* and IGNORE errors. */