+2005-07-15 [hoa] 1.9.12cvs59
+
+ * src/etpan/imap-thread.c
+ disable login of IMAP password in libetpan log file.
+
2005-07-15 [paul] 1.9.12cvs58
* src/account.c
( cvs diff -u -r 1.5.2.17 -r 1.5.2.18 src/gtk/pluginwindow.c; ) > 1.9.12cvs56.patchset
( cvs diff -u -r 1.61.2.30 -r 1.61.2.31 src/account.c; cvs diff -u -r 1.3.2.11 -r 1.3.2.12 src/ssl_manager.c; ) > 1.9.12cvs57.patchset
( cvs diff -u -r 1.61.2.31 -r 1.61.2.32 src/account.c; ) > 1.9.12cvs58.patchset
+( cvs diff -u -r 1.1.4.8 -r 1.1.4.9 src/etpan/imap-thread.c; ) > 1.9.12cvs59.patchset
#include "etpan-thread-manager.h"
#include "utils.h"
+#define DISABLE_LOG_DURING_LOGIN
+
static struct etpan_thread_manager * thread_manager = NULL;
static chash * courier_workaround_hash = NULL;
static chash * imap_hash = NULL;
struct login_param * param;
struct login_result * result;
int r;
+#ifdef DISABLE_LOG_DURING_LOGIN
+ int old_debug;
+#endif
param = op->param;
+
+#ifdef DISABLE_LOG_DURING_LOGIN
+ old_debug = mailstream_debug;
+#endif
+
r = mailimap_login(param->imap,
param->login, param->password);
+#ifdef DISABLE_LOG_DURING_LOGIN
+ mailstream_debug = old_debug;
+#endif
+
result = op->result;
result->error = r;
debug_print("imap login run - end %i\n", r);