From a26f62fb03c3570f7792d3a94c177cb40ade9297 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Nov 2011 08:55:19 +0000 Subject: [PATCH] -minor code clean up and renaming dummy --- src/transport/Makefile.am | 2 +- ..._wlan_dummy.c => gnunet-transport-wlan-helper-dummy.c} | 0 src/transport/plugin_transport_wlan.c | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/transport/{test_plugin_transport_wlan_dummy.c => gnunet-transport-wlan-helper-dummy.c} (100%) diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index ee899e6a5..3334607fa 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am @@ -123,7 +123,7 @@ gnunet_transport_wlan_helper_LDADD = \ gnunet_transport_wlan_helper_dummy_SOURCES = \ wlan/radiotap-parser.c \ wlan/helper_common.c \ - test_plugin_transport_wlan_dummy.c + gnunet-transport-wlan-helper-dummy.c gnunet_transport_wlan_helper_dummy_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la diff --git a/src/transport/test_plugin_transport_wlan_dummy.c b/src/transport/gnunet-transport-wlan-helper-dummy.c similarity index 100% rename from src/transport/test_plugin_transport_wlan_dummy.c rename to src/transport/gnunet-transport-wlan-helper-dummy.c diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 13e7eb611..db2272ca2 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -1497,7 +1497,7 @@ static int wlan_transport_start_wlan_helper (struct Plugin *plugin) { const char *filenamehw = "gnunet-transport-wlan-helper"; - char *filenameloopback = "gnunet-transport-wlan-helper-dummy"; + const char *filenameloopback = "gnunet-transport-wlan-helper-dummy"; char *absolute_filename = NULL; if (plugin->helper_is_running == GNUNET_YES){ @@ -1577,7 +1577,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) #if DEBUG_wlan GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, PLUGIN_LOG_NAME, - "Starting gnunet-wlan-helper loopback 1 process cmd: %s %s %i\n", + "Starting gnunet-transport-wlan-helper-dummy loopback 1 process cmd: %s %s %i\n", absolute_filename, plugin->interface, plugin->testmode); #endif plugin->server_proc = @@ -1596,7 +1596,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) { #if DEBUG_wlan GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, PLUGIN_LOG_NAME, - "Starting gnunet-wlan-helper loopback 2 process cmd: %s %s %i\n", + "Starting gnunet-transport-wlan-helper-dummy loopback 2 process cmd: %s %s %i\n", absolute_filename, plugin->interface, plugin->testmode); #endif @@ -1618,7 +1618,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) { #if DEBUG_wlan GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, PLUGIN_LOG_NAME, - "Failed to start gnunet-wlan-helper process\n"); + "Failed to start gnunet-transport-wlan-helper process\n"); #endif return GNUNET_SYSERR; } -- 2.25.1