summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-19 15:34:04 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-19 15:34:04 +0000
commit7debad1ea380d2fb0065e172e6fa3add71d62f57 (patch)
tree91a36b782f3823cc97bbd13e18d1e0e2b8b1d3f3 /imap
parent3afb0724fb6b2c942357ce4680c9eaaa33876360 (diff)
Fix some sloppiness-induced, but harmless, nonsense.
Diffstat (limited to 'imap')
-rw-r--r--imap/auth.c5
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)