diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-19 01:51:38 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-19 01:51:38 +0000 |
commit | 8da5725d04fae61458a4944de12207256e8dbc2a (patch) | |
tree | 74e183d66ba39d46dd3bfd1ebab69552e077a027 /imap.c | |
parent | 67d5e1e4ca79d86c8beedc8709efb27f83295443 (diff) | |
download | fetchmail-8da5725d04fae61458a4944de12207256e8dbc2a.tar.gz fetchmail-8da5725d04fae61458a4944de12207256e8dbc2a.tar.bz2 fetchmail-8da5725d04fae61458a4944de12207256e8dbc2a.zip |
Fix various warnings.
svn path=/trunk/; revision=3904
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) { |