From e7600ca696356bf789d6eb7c816e5b4bb708f664 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 18 Jul 2012 15:35:40 +0200 Subject: [PATCH] Remove debugging leftovers --- src/frontends/gnome/properties/nm-strongswan.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/frontends/gnome/properties/nm-strongswan.c b/src/frontends/gnome/properties/nm-strongswan.c index 18a05d3e4..bb2cc0d47 100644 --- a/src/frontends/gnome/properties/nm-strongswan.c +++ b/src/frontends/gnome/properties/nm-strongswan.c @@ -366,16 +366,8 @@ update_connection (NMVpnPluginUiWidgetInterface *iface, active = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget)); nm_setting_vpn_add_data_item (settings, "ipcomp", active ? "yes" : "no"); - - if (!nm_setting_set_secret_flags (NM_SETTING (settings), - "password", NM_SETTING_SECRET_FLAG_AGENT_OWNED, NULL)) - { - fprintf(stderr, "no\n"); - } - else - { - fprintf(stderr, "yes\n"); - } + nm_setting_set_secret_flags (NM_SETTING (settings), "password", + NM_SETTING_SECRET_FLAG_AGENT_OWNED, NULL); nm_connection_add_setting (connection, NM_SETTING (settings)); return TRUE;