From 22443c2f05880838db8d7091701f8f20a83cc90e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 4 Jun 2002 13:58:21 +0000 Subject: Fix Kerberos bugs. svn path=/trunk/; revision=3628 --- imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index c9792072..df8cd336 100644 --- a/imap.c +++ b/imap.c @@ -200,7 +200,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, sizeof(msgbuf)); + len = from64tobits ((char*)&challenge, msgbuf, sizeof(challenge)); if (outlevel >= O_DEBUG) dumpSmbNtlmAuthChallenge(stdout, &challenge); -- cgit v1.2.3