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.
This commit is contained in:
parent
f7406f530b
commit
6741bc94d9
|
@ -1174,8 +1174,6 @@ do_cram_auth (imap_store_t *ctx, struct imap_cmd *cmdp, const char *prompt)
|
||||||
free( resp );
|
free( resp );
|
||||||
if (n != l)
|
if (n != l)
|
||||||
return -1;
|
return -1;
|
||||||
if (socket_write( &imap->buf.sock, "\r\n", 2 ) != 2)
|
|
||||||
return -1;
|
|
||||||
cmdp->cb.cont = 0;
|
cmdp->cb.cont = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user