diff options
author | David Brodski <david@brodski.eu> | 2011-01-11 23:38:54 +0000 |
---|---|---|
committer | David Brodski <david@brodski.eu> | 2011-01-11 23:38:54 +0000 |
commit | be11962997493fb0cee7a8480d6c90da016f6b7d (patch) | |
tree | c4db7d56e51d172bda20e88fa5b88477f4b0b876 /src/transport/plugin_transport_wlan.c | |
parent | 977024fee8ec4405d536f837fc805e84f6b886ca (diff) | |
download | gnunet-be11962997493fb0cee7a8480d6c90da016f6b7d.tar.gz gnunet-be11962997493fb0cee7a8480d6c90da016f6b7d.zip |
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 3459f456c..9188ff854 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -2008,6 +2008,8 @@ wlan_transport_start_wlan_helper(struct Plugin *plugin, int testmode) | |||
2008 | #endif | 2008 | #endif |
2009 | /* Start the server process */ | 2009 | /* Start the server process */ |
2010 | 2010 | ||
2011 | //if (testmode == 0){ | ||
2012 | |||
2011 | plugin->server_proc = GNUNET_OS_start_process(plugin->server_stdin, | 2013 | plugin->server_proc = GNUNET_OS_start_process(plugin->server_stdin, |
2012 | plugin->server_stdout, filename,filename, plugin->interface, ((testmode==1)?"1":"0"), NULL); | 2014 | plugin->server_stdout, filename,filename, plugin->interface, ((testmode==1)?"1":"0"), NULL); |
2013 | if (plugin->server_proc == NULL) | 2015 | if (plugin->server_proc == NULL) |
@@ -2018,6 +2020,13 @@ wlan_transport_start_wlan_helper(struct Plugin *plugin, int testmode) | |||
2018 | #endif | 2020 | #endif |
2019 | return GNUNET_SYSERR; | 2021 | return GNUNET_SYSERR; |
2020 | } | 2022 | } |
2023 | //} else if (testmode == 1){ | ||
2024 | |||
2025 | |||
2026 | //} else if (testmode == 2){ | ||
2027 | |||
2028 | |||
2029 | //} | ||
2021 | /* Close the write end of the read pipe */ | 2030 | /* Close the write end of the read pipe */ |
2022 | GNUNET_DISK_pipe_close_end(plugin->server_stdout, GNUNET_DISK_PIPE_END_WRITE); | 2031 | GNUNET_DISK_pipe_close_end(plugin->server_stdout, GNUNET_DISK_PIPE_END_WRITE); |
2023 | 2032 | ||