2005-07-15 [hoa] 1.9.12cvs59
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Fri, 15 Jul 2005 15:50:50 +0000 (15:50 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Fri, 15 Jul 2005 15:50:50 +0000 (15:50 +0000)
* src/etpan/imap-thread.c
    disable login of IMAP password in libetpan log file.

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/etpan/imap-thread.c

index 11f6133afcad1dcb6e888096cc810160e5b8483b..37f6bdbb0c01b7548f076a4d3295af8e3f85ed3f 100644 (file)
@@ -1,3 +1,8 @@
+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
index cbe586805e6e0d1279c9e4abd0181a353ec65f6f..f806f7944eede5df3d5be005cb7feaeac8e8959b 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index 74af38b3b16150afd5530aae1938f67819aecb3a..3271a6bfd027f571a1627717983ae0d488f24881 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=12
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=58
+EXTRA_VERSION=59
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 45f9b46343b0d616df53800ba00297469556b29d..7d0a3a7de6197523b1cf54c29d25c863beb68ed5 100644 (file)
@@ -16,6 +16,8 @@
 #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;
@@ -424,11 +426,23 @@ static void login_run(struct etpan_thread_op * op)
        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);