From 8631bbc049da4c7e3fb265a0fe0984e9179d2b66 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 22 Nov 2016 14:29:39 +0000 Subject: [PATCH] Initialize imap_authenticate's return value to something meaningful Closes: #256 --- imap/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap/auth.c b/imap/auth.c index 047531a5e..68dcb8647 100644 --- a/imap/auth.c +++ b/imap/auth.c @@ -54,7 +54,7 @@ int imap_authenticate (IMAP_DATA* idata) char* methods; char* method; char* delim; - int r = -1; + int r = IMAP_AUTH_UNAVAIL; if (ImapAuthenticators && *ImapAuthenticators) { -- 2.40.0