From 8da5725d04fae61458a4944de12207256e8dbc2a Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 19 Jun 2004 01:51:38 +0000 Subject: Fix various warnings. svn path=/trunk/; revision=3904 --- imap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index f1b516ee..af930b48 100644 --- a/imap.c +++ b/imap.c @@ -443,16 +443,17 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) #ifdef OPIE_ENABLE if ((ctl->server.authenticate == A_ANY || ctl->server.authenticate == A_OTP) - && strstr(capabilities, "AUTH=X-OTP")) + && strstr(capabilities, "AUTH=X-OTP")) { if ((ok = do_otp(sock, "AUTHENTICATE", ctl))) { /* SASL cancellation of authentication */ gen_send(sock, "*"); if(ctl->server.authenticate != A_ANY) return ok; - } - else + } else { return ok; + } + } #else if (ctl->server.authenticate == A_OTP) { -- cgit v1.2.3