isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 6741bc94d917dc357914eed1b5c8f2431fb34f30
parent f7406f530b184f15820df2ebc9e03a205dda87b0
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Sun, 17 Oct 2004 08:30:02 +0000

remove spurious crlf during cram auth. not sure that this instance of
socket_write should be (re)moved, but as long as the .cont callback is
used only for this ...
investigation & patch by Mike Delaney.

Diffstat:
Msrc/drv_imap.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/drv_imap.c b/src/drv_imap.c @@ -1174,8 +1174,6 @@ do_cram_auth (imap_store_t *ctx, struct imap_cmd *cmdp, const char *prompt) free( resp ); if (n != l) return -1; - if (socket_write( &imap->buf.sock, "\r\n", 2 ) != 2) - return -1; cmdp->cb.cont = 0; return 0; }