diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-10-19 15:34:04 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-10-19 15:34:04 +0000 |
commit | 7debad1ea380d2fb0065e172e6fa3add71d62f57 (patch) | |
tree | 91a36b782f3823cc97bbd13e18d1e0e2b8b1d3f3 /imap | |
parent | 3afb0724fb6b2c942357ce4680c9eaaa33876360 (diff) |
Fix some sloppiness-induced, but harmless, nonsense.
Diffstat (limited to 'imap')
-rw-r--r-- | imap/auth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/imap/auth.c b/imap/auth.c index 524e8d19..b4aa06bb 100644 --- a/imap/auth.c +++ b/imap/auth.c @@ -400,7 +400,7 @@ static int imap_auth_cram_md5 (IMAP_DATA* idata, const char* user, return -1; } -/* this is basically a stripped-down version of the anonymous method. */ +/* this is basically a stripped-down version of the cram-md5 method. */ static int imap_auth_anon (IMAP_DATA* idata) { @@ -427,9 +427,8 @@ static int imap_auth_anon (IMAP_DATA* idata) return -1; } - strfcpy (ibuf, "ZHVtbXkK", sizeof (ibuf)); /* base64 ("dummy") */ + strfcpy (ibuf, "ZHVtbXkK\r\n", sizeof (ibuf)); /* base64 ("dummy") */ - strcpy (ibuf + strlen (ibuf), "\r\n"); mutt_socket_write (idata->conn, ibuf); if (mutt_socket_read_line_d (ibuf, LONG_STRING, idata->conn) < 0) |