commit 23716ceb9f2a450193ac5f139ae2dca5acf2539e
parent 871204805a55779dff39e5f24cc4d0281eec0ae9
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Fri, 21 Dec 2018 10:45:48 +0100
Fix a harmless compiler warning in imap_cmd_login().
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/imap.c b/src/imap.c
@@ -4091,7 +4091,7 @@ static gint imap_cmd_login(IMAPSession *session,
gint ok;
if (!strcmp(type, "plaintext") && imap_has_capability(session, "LOGINDISABLED")) {
- gint ok = MAILIMAP_ERROR_BAD_STATE;
+ ok = MAILIMAP_ERROR_BAD_STATE;
if (imap_has_capability(session, "STARTTLS")) {
#ifdef USE_GNUTLS
log_warning(LOG_PROTOCOL, _("Server requires STARTTLS to log in.\n"));