diff options
-rw-r--r-- | imap.c | 2 | ||||
-rw-r--r-- | pop3.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -295,7 +295,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) if ((ctl->server.authenticate == A_ANY || ctl->server.authenticate==A_GSSAPI) && strstr(capabilities, "AUTH=GSSAPI")) - return(do_gssauth(sock, ctl->server.truename, ctl->remotename)); + return(do_gssauth(sock, "AUTHENTICATE", ctl->server.truename, ctl->remotename)); #endif /* GSSAPI */ #ifdef KERBEROS_V4 @@ -263,7 +263,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) return(do_rfc1731(sock, "AUTH", ctl->server.truename)); #endif /* defined(KERBEROS_V4) || defined(KERBEROS_V5) */ #if defined(GSSAPI) - if (ctl->server.authenticate==A_GSSAPI)) + if (ctl->server.authenticate==A_GSSAPI) return(do_gssauth(sock, "AUTH", ctl->server.truename, ctl->remotename)); #endif /* defined(GSSAPI) */ |