2007-01-14 [colin] 2.7.0cvs27
authorColin Leroy <colin@colino.net>
Sun, 14 Jan 2007 17:20:18 +0000 (17:20 +0000)
committerColin Leroy <colin@colino.net>
Sun, 14 Jan 2007 17:20:18 +0000 (17:20 +0000)
* src/gtk/inputdialog.c
Make sure we don't print passwords in
clear text when in debug mode

ChangeLog
PATCHSETS
configure.ac
src/gtk/inputdialog.c

index 239bce3ed1844119d18130ecf26d9012bdaa0f12..2a76d9fbaa819b9c02b23fb0d34e7c4099feb004 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-14 [colin]     2.7.0cvs27
+
+       * src/gtk/inputdialog.c
+               Make sure we don't print passwords in
+               clear text when in debug mode
+
 2007-01-14 [colin]     2.7.0cvs26
 
        * src/gtk/gtksctree.c
 2007-01-14 [colin]     2.7.0cvs26
 
        * src/gtk/gtksctree.c
index d7666c0dc3f2aaaf5b343189dca74a97112fe83b..3ff397386f389a00d2c8a6d9433089f85ed5e428 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.4.65 -r 1.1.4.66 src/etpan/imap-thread.c;  ) > 2.7.0cvs24.patchset
 ( cvs diff -u -r 1.1.4.66 -r 1.1.4.67 src/etpan/imap-thread.c;  ) > 2.7.0cvs25.patchset
 ( cvs diff -u -r 1.1.4.37 -r 1.1.4.38 src/gtk/gtksctree.c;  ) > 2.7.0cvs26.patchset
 ( cvs diff -u -r 1.1.4.65 -r 1.1.4.66 src/etpan/imap-thread.c;  ) > 2.7.0cvs24.patchset
 ( cvs diff -u -r 1.1.4.66 -r 1.1.4.67 src/etpan/imap-thread.c;  ) > 2.7.0cvs25.patchset
 ( cvs diff -u -r 1.1.4.37 -r 1.1.4.38 src/gtk/gtksctree.c;  ) > 2.7.0cvs26.patchset
+( cvs diff -u -r 1.2.2.21 -r 1.2.2.22 src/gtk/inputdialog.c;  ) > 2.7.0cvs27.patchset
index 17837515a84ea8980d147de6e8de5e95b5c25095..962ceec4a3d5ea44c37bd50948edba8d4aeb83e5 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=26
+EXTRA_VERSION=27
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 3fa575a02527197959d7ef3ebe21145e289b8fd0..642035595bc73f963fc57d75c1aded754b6c7019 100644 (file)
@@ -359,7 +359,10 @@ static gchar *input_dialog_open(const gchar *title, const gchar *message,
        if (remember) {
                *remember = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(remember_chkbtn));
        }
        if (remember) {
                *remember = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(remember_chkbtn));
        }
-       debug_print("return string = %s\n", str ? str : "(none)");
+       if (is_pass)
+               debug_print("return string = %s\n", str ? "********": ("none"));
+       else
+               debug_print("return string = %s\n", str ? str : "(none)");
        return str;
 }
 
        return str;
 }