diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-12-23 08:18:49 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-12-23 08:18:49 +0000 |
commit | 81888a3f4e87cf3cf359248e33e7cdca0d190d78 (patch) | |
tree | 4406c9f67336d8bcf597669cbed2cf6f24a77c86 /src/transport/plugin_transport_wlan.c | |
parent | 42a83e9a959d17fad15a65d8fd915dfa2f94e28d (diff) | |
download | gnunet-81888a3f4e87cf3cf359248e33e7cdca0d190d78.tar.gz gnunet-81888a3f4e87cf3cf359248e33e7cdca0d190d78.zip |
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index aaa11b80a..3af63f5c5 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1725,7 +1725,6 @@ wlan_data_helper(void *cls, void * client, const struct GNUNET_MessageHeader * h | |||
1725 | distance[0].value = htonl (1); | 1725 | distance[0].value = htonl (1); |
1726 | distance[1].type = htonl (GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR); | 1726 | distance[1].type = htonl (GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR); |
1727 | distance[1].value = htonl (0); | 1727 | distance[1].value = htonl (0); |
1728 | |||
1729 | plugin->env->receive(plugin, &session->target, | 1728 | plugin->env->receive(plugin, &session->target, |
1730 | temp_hdr, (const struct GNUNET_TRANSPORT_ATS_Information *) &distance, 2, | 1729 | temp_hdr, (const struct GNUNET_TRANSPORT_ATS_Information *) &distance, 2, |
1731 | session, session->addr, sizeof(session->addr)); | 1730 | session, session->addr, sizeof(session->addr)); |
@@ -2010,7 +2009,7 @@ wlan_transport_start_wlan_helper(struct Plugin *plugin, int testmode) | |||
2010 | /* Start the server process */ | 2009 | /* Start the server process */ |
2011 | 2010 | ||
2012 | plugin->server_proc = GNUNET_OS_start_process(plugin->server_stdin, | 2011 | plugin->server_proc = GNUNET_OS_start_process(plugin->server_stdin, |
2013 | plugin->server_stdout, filename, plugin->interface, ((testmode==1)?"1":"0"), NULL); | 2012 | plugin->server_stdout, filename,filename, plugin->interface, ((testmode==1)?"1":"0"), NULL); |
2014 | if (plugin->server_proc == NULL) | 2013 | if (plugin->server_proc == NULL) |
2015 | { | 2014 | { |
2016 | #if DEBUG_wlan | 2015 | #if DEBUG_wlan |