commit 16aa17053dff538463bc39d8b427b1c5713a9ec4 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Sat May 9 17:06:24 2015 +0200
mask AUTHENTICATE PLAIN commands in error output as well amends bd0f3af5. src/drv_imap.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 85fae81..d3b1447 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1380,7 +1380,11 @@ imap_socket_read( void *aux ) } else /*if (!strcmp( "BAD", arg ))*/ resp = RESP_CANCEL; error( "IMAP command '%s' returned an error: %s %s\n", - !starts_with( cmdp->cmd, -1, "LOGIN", 5 ) ? cmdp->cmd : "LOGIN <user> <pass>", + starts_with( cmdp->cmd, -1, "LOGIN", 5 ) ? + "LOGIN <user> <pass>" : + starts_with( cmdp->cmd, -1, "AUTHENTICATE PLAIN", 18 ) ? + "AUTHENTICATE PLAIN <authdata>" : + cmdp->cmd, arg, cmd ? cmd : "" ); } doresp: ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel