aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-25 08:55:19 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-25 08:55:19 +0000
commita26f62fb03c3570f7792d3a94c177cb40ade9297 (patch)
treef53cbf358f6fd1dfefb20d21c2898b48fabaea30 /src/transport
parentced74262e9a1a617d52627fb9fd31052d09fc4a2 (diff)
downloadgnunet-a26f62fb03c3570f7792d3a94c177cb40ade9297.tar.gz
gnunet-a26f62fb03c3570f7792d3a94c177cb40ade9297.zip
-minor code clean up and renaming dummy
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/Makefile.am2
-rw-r--r--src/transport/gnunet-transport-wlan-helper-dummy.c (renamed from src/transport/test_plugin_transport_wlan_dummy.c)0
-rw-r--r--src/transport/plugin_transport_wlan.c8
3 files changed, 5 insertions, 5 deletions
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 = \
123gnunet_transport_wlan_helper_dummy_SOURCES = \ 123gnunet_transport_wlan_helper_dummy_SOURCES = \
124 wlan/radiotap-parser.c \ 124 wlan/radiotap-parser.c \
125 wlan/helper_common.c \ 125 wlan/helper_common.c \
126 test_plugin_transport_wlan_dummy.c 126 gnunet-transport-wlan-helper-dummy.c
127gnunet_transport_wlan_helper_dummy_LDADD = \ 127gnunet_transport_wlan_helper_dummy_LDADD = \
128 $(top_builddir)/src/util/libgnunetutil.la 128 $(top_builddir)/src/util/libgnunetutil.la
129 129
diff --git a/src/transport/test_plugin_transport_wlan_dummy.c b/src/transport/gnunet-transport-wlan-helper-dummy.c
index d4c300d25..d4c300d25 100644
--- a/src/transport/test_plugin_transport_wlan_dummy.c
+++ b/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
1497wlan_transport_start_wlan_helper (struct Plugin *plugin) 1497wlan_transport_start_wlan_helper (struct Plugin *plugin)
1498{ 1498{
1499 const char *filenamehw = "gnunet-transport-wlan-helper"; 1499 const char *filenamehw = "gnunet-transport-wlan-helper";
1500 char *filenameloopback = "gnunet-transport-wlan-helper-dummy"; 1500 const char *filenameloopback = "gnunet-transport-wlan-helper-dummy";
1501 char *absolute_filename = NULL; 1501 char *absolute_filename = NULL;
1502 1502
1503 if (plugin->helper_is_running == GNUNET_YES){ 1503 if (plugin->helper_is_running == GNUNET_YES){
@@ -1577,7 +1577,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin)
1577 1577
1578#if DEBUG_wlan 1578#if DEBUG_wlan
1579 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, PLUGIN_LOG_NAME, 1579 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, PLUGIN_LOG_NAME,
1580 "Starting gnunet-wlan-helper loopback 1 process cmd: %s %s %i\n", 1580 "Starting gnunet-transport-wlan-helper-dummy loopback 1 process cmd: %s %s %i\n",
1581 absolute_filename, plugin->interface, plugin->testmode); 1581 absolute_filename, plugin->interface, plugin->testmode);
1582#endif 1582#endif
1583 plugin->server_proc = 1583 plugin->server_proc =
@@ -1596,7 +1596,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin)
1596 { 1596 {
1597#if DEBUG_wlan 1597#if DEBUG_wlan
1598 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, PLUGIN_LOG_NAME, 1598 GNUNET_log_from (GNUNET_ERROR_TYPE_INFO, PLUGIN_LOG_NAME,
1599 "Starting gnunet-wlan-helper loopback 2 process cmd: %s %s %i\n", 1599 "Starting gnunet-transport-wlan-helper-dummy loopback 2 process cmd: %s %s %i\n",
1600 absolute_filename, plugin->interface, plugin->testmode); 1600 absolute_filename, plugin->interface, plugin->testmode);
1601#endif 1601#endif
1602 1602
@@ -1618,7 +1618,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin)
1618 { 1618 {
1619#if DEBUG_wlan 1619#if DEBUG_wlan
1620 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, PLUGIN_LOG_NAME, 1620 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, PLUGIN_LOG_NAME,
1621 "Failed to start gnunet-wlan-helper process\n"); 1621 "Failed to start gnunet-transport-wlan-helper process\n");
1622#endif 1622#endif
1623 return GNUNET_SYSERR; 1623 return GNUNET_SYSERR;
1624 } 1624 }