diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 08:58:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 08:58:14 +0000 |
commit | c5b614c1f7e8cc175417336ef968f2b8897f49ad (patch) | |
tree | 981c9a8c51ee44b2ec1604dd7060450345896ff9 /src/transport/plugin_transport_wlan.c | |
parent | 6c301431dd93dc41f268527b298d3ea7c69c66c4 (diff) | |
download | gnunet-c5b614c1f7e8cc175417336ef968f2b8897f49ad.tar.gz gnunet-c5b614c1f7e8cc175417336ef968f2b8897f49ad.zip |
try current dir
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 2763b5082..e536afd67 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1532,6 +1532,8 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) | |||
1532 | filenameloopback, plugin->interface, plugin->testmode); | 1532 | filenameloopback, plugin->interface, plugin->testmode); |
1533 | #endif | 1533 | #endif |
1534 | 1534 | ||
1535 | if (GNUNET_OS_check_helper_binary (filenameloopback) == GNUNET_SYSERR) | ||
1536 | filenameloopback = "./gnunet-transport-wlan-helper-dummy"; | ||
1535 | if (GNUNET_OS_check_helper_binary (filenameloopback) != GNUNET_SYSERR) | 1537 | if (GNUNET_OS_check_helper_binary (filenameloopback) != GNUNET_SYSERR) |
1536 | { | 1538 | { |
1537 | plugin->server_proc = | 1539 | plugin->server_proc = |
@@ -1553,6 +1555,8 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) | |||
1553 | "Starting gnunet-wlan-helper loopback 2 process cmd: %s %s %i\n", | 1555 | "Starting gnunet-wlan-helper loopback 2 process cmd: %s %s %i\n", |
1554 | filenameloopback, plugin->interface, plugin->testmode); | 1556 | filenameloopback, plugin->interface, plugin->testmode); |
1555 | #endif | 1557 | #endif |
1558 | if (GNUNET_OS_check_helper_binary (filenameloopback) == GNUNET_SYSERR) | ||
1559 | filenameloopback = "./gnunet-transport-wlan-helper-dummy"; | ||
1556 | if (GNUNET_OS_check_helper_binary (filenameloopback) != GNUNET_SYSERR) | 1560 | if (GNUNET_OS_check_helper_binary (filenameloopback) != GNUNET_SYSERR) |
1557 | { | 1561 | { |
1558 | plugin->server_proc = | 1562 | plugin->server_proc = |