From: Colin Leroy Date: Sun, 14 Jan 2007 17:20:18 +0000 (+0000) Subject: 2007-01-14 [colin] 2.7.0cvs27 X-Git-Tag: rel_2_8_0~144 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=cf97abe605fa00fcdda187eca276e0684beb3a1f 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 --- diff --git a/ChangeLog b/ChangeLog index 239bce3ed..2a76d9fba 100644 --- 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 diff --git a/PATCHSETS b/PATCHSETS index d7666c0dc..3ff397386 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -2253,3 +2253,4 @@ ( 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 diff --git a/configure.ac b/configure.ac index 17837515a..962ceec4a 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=7 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=26 +EXTRA_VERSION=27 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/gtk/inputdialog.c b/src/gtk/inputdialog.c index 3fa575a02..642035595 100644 --- a/src/gtk/inputdialog.c +++ b/src/gtk/inputdialog.c @@ -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)); } - 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; }