]> Pileus Git - ~andy/fetchmail/commitdiff
Fixed NTLM to work again.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 27 Feb 2001 17:23:28 +0000 (17:23 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 27 Feb 2001 17:23:28 +0000 (17:23 -0000)
svn path=/trunk/; revision=3159

NEWS
imap.c

diff --git a/NEWS b/NEWS
index e7dd076a5a16048029731fdc6c876eacde272b7a..ee711b8b421914b2c4699494551d9b5c941b6f99 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
 (The `lines' figures total .c, .h, .l, and .y files under version control.)
 
 * Updated Danish translation from Byrial Jensen.
+* Fixed bug in NTLM support
 
 fetchmail-5.6.8 (Thu Feb 22 02:57:31 EST 2001), 20110 lines:
 
diff --git a/imap.c b/imap.c
index bf1552b9f4f842b3d1fb2e11b53c44ee3562f514..08ca65c5944139e551a8a3140739c68e8cef7801 100644 (file)
--- a/imap.c
+++ b/imap.c
@@ -193,8 +193,7 @@ static int do_imap_ntlm(int sock, struct query *ctl)
     if (outlevel >= O_MONITOR)
        report(stdout, "IMAP> %s\n", msgbuf);
       
-
-
+    strcat(msgbuf,"\r\n");
     SockWrite (sock, msgbuf, strlen (msgbuf));
   
     if ((result = gen_recv (sock, msgbuf, sizeof msgbuf)))