From 832ece4de251035d562df8cb6d6fcac2e8b7f8c6 Mon Sep 17 00:00:00 2001 From: Max Moser Date: Mon, 12 Feb 2018 22:04:41 +0100 Subject: [PATCH] Remove previously added debug stuff --- auth-dialog/main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/auth-dialog/main.c b/auth-dialog/main.c index 300796a..f34529f 100644 --- a/auth-dialog/main.c +++ b/auth-dialog/main.c @@ -487,22 +487,17 @@ main (int argc, char *argv[]) return EXIT_FAILURE; } - // the parameters are supplied via arguments - printf("UUID: %s, Name: %s, Service: %s\n", vpn_uuid, vpn_name, vpn_service); - if (strcmp (vpn_service, NM_VPN_SERVICE_TYPE_WIREGUARD) != 0) { fprintf (stderr, "This dialog only works with the '%s' service\n", NM_VPN_SERVICE_TYPE_WIREGUARD); return EXIT_FAILURE; } - printf("Reading stdin details\n"); // reads secrets/data from STDIN until "DONE" is read if (!nm_vpn_service_plugin_read_vpn_details (0, &data, &secrets)) { fprintf (stderr, "Failed to read '%s' (%s) data and secrets from stdin.\n", vpn_name, vpn_uuid); - //return 1; // TODO re-add + return 1; } - printf("Done reading\n"); if (external_ui_mode) { no_secrets_required_func = eui_no_secrets_required;