From: Nathan S. Evans Date: Mon, 25 Jan 2010 09:28:20 +0000 (+0000) Subject: remove debug options when not specified, otherwise they linger in the configuration... X-Git-Tag: initial-import-from-subversion-38251~22854 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cec1f698129682124b2f4831cef7354102f56e50;p=oweals%2Fgnunet.git remove debug options when not specified, otherwise they linger in the configuration between test runs --- diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 6f6130008..9702d945d 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c @@ -31,7 +31,7 @@ #include "gnunet_transport_service.h" #include "transport.h" -#define VERBOSE GNUNET_YES +#define VERBOSE GNUNET_NO #define VERBOSE_ARM GNUNET_NO @@ -247,6 +247,9 @@ setTransportOptions(char * filename) #if VERBOSE_TRANSPORT GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "YES"); GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", "xterm -e xterm -T transport -e gdb --args"); +#else + GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "DEBUG", "NO"); + GNUNET_CONFIGURATION_set_value_string(tempcfg, "transport", "PREFIX", ""); #endif GNUNET_CONFIGURATION_write(tempcfg, filename);