aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-19 00:23:19 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-19 00:23:19 +0800
commitbf655521d919fb42e04018f517539e5850bd48a1 (patch)
treeb563257444791517a1bfadc4b325e344d53efd9f /libempathy-gtk/empathy-account-widget.c
parent3ebc4716a064b76bfd449ddc828a0c01b9cc4c04 (diff)
downloadgsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.tar
gsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.tar.gz
gsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.tar.bz2
gsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.tar.lz
gsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.tar.xz
gsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.tar.zst
gsoc2013-empathy-bf655521d919fb42e04018f517539e5850bd48a1.zip
Hide password from debug messages.
svn path=/trunk/; revision=964
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 6e14d4857..f0668ee97 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -60,7 +60,8 @@ account_widget_entry_focus_cb (GtkWidget *widget,
gtk_entry_set_text (GTK_ENTRY (widget), value ? value : "");
g_free (value);
} else {
- empathy_debug (DEBUG_DOMAIN, "Setting %s to %s", param_name, str);
+ empathy_debug (DEBUG_DOMAIN, "Setting %s to %s", param_name,
+ strstr (param_name, "password") ? "***" : str);
mc_account_set_param_string (account, param_name, str);
}