talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 8b90dc934a4aa20b0f008647254955f668590bad
parent 6d0b5371aaabc3e56b1561e2371e9d7d908df3b3
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:
Msrc/imap.c | 2+-
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"));