diff options
author | Brendan Cully <brendan@kublai.com> | 2005-12-10 07:01:36 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-12-10 07:01:36 +0000 |
commit | bf247602fce232ab305a5f38bb402bd56c8d4efc (patch) | |
tree | ee8839bb69ceac1adaf71039a3c947a42558eeac /imap/auth_sasl.c | |
parent | a35305b007ea25d184875403322ec13f8819aa13 (diff) |
Move IMAP response buffer out of command into IMAP_DATA. Ironically this is to prepare for pipelined commands.
Diffstat (limited to 'imap/auth_sasl.c')
-rw-r--r-- | imap/auth_sasl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/auth_sasl.c b/imap/auth_sasl.c index f33ec0a5..0ed4c32a 100644 --- a/imap/auth_sasl.c +++ b/imap/auth_sasl.c @@ -119,7 +119,7 @@ imap_auth_res_t imap_auth_sasl (IMAP_DATA* idata, const char* method) if (irc == IMAP_CMD_RESPOND) { - if (sasl_decode64 (idata->cmd.buf+2, strlen (idata->cmd.buf+2), buf, LONG_STRING-1, &len) != SASL_OK) + if (sasl_decode64 (idata->buf+2, strlen (idata->buf+2), buf, LONG_STRING-1, &len) != SASL_OK) { dprint (1, (debugfile, "imap_auth_sasl: error base64-decoding server response.\n")); goto bail; @@ -175,7 +175,7 @@ imap_auth_res_t imap_auth_sasl (IMAP_DATA* idata, const char* method) if (rc != SASL_OK) goto bail; - if (imap_code (idata->cmd.buf)) + if (imap_code (idata->buf)) { mutt_sasl_setup_conn (idata->conn, saslconn); return IMAP_AUTH_SUCCESS; |