From: Martin Willi Date: Wed, 18 Jul 2012 13:35:40 +0000 (+0200) Subject: Remove debugging leftovers X-Git-Tag: 5.0.1~279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7600ca696356bf789d6eb7c816e5b4bb708f664;p=thirdparty%2Fstrongswan.git Remove debugging leftovers --- diff --git a/src/frontends/gnome/properties/nm-strongswan.c b/src/frontends/gnome/properties/nm-strongswan.c index 18a05d3e48..bb2cc0d47a 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;