aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-11-08 16:53:54 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-11-08 16:53:54 +0000
commit45bcf00ee95d474f989d5594da378116d63702be (patch)
treebaeb26c4b1f80cd7babb0cb28950a682b71b5fa5 /imap.c
parent63e45826907ea86d967c5903fc31fbde5977db73 (diff)
downloadfetchmail-45bcf00ee95d474f989d5594da378116d63702be.tar.gz
fetchmail-45bcf00ee95d474f989d5594da378116d63702be.tar.bz2
fetchmail-45bcf00ee95d474f989d5594da378116d63702be.zip
Easy bug fixes for this round.
svn path=/trunk/; revision=3543
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 2ee7759e..9a22a37c 100644
--- a/imap.c
+++ b/imap.c
@@ -181,7 +181,7 @@ static int do_imap_ntlm(int sock, struct query *ctl)
if ((gen_recv(sock, msgbuf, sizeof msgbuf)))
return result;
- len = from64tobits ((unsigned char*)&challenge, msgbuf);
+ len = from64tobits ((unsigned char*)&challenge, msgbuf, sizeof(msgbuf));
if (outlevel >= O_DEBUG)
dumpSmbNtlmAuthChallenge(stdout, &challenge);