diff options
author | David Brodski <david@brodski.eu> | 2011-09-14 08:53:52 +0000 |
---|---|---|
committer | David Brodski <david@brodski.eu> | 2011-09-14 08:53:52 +0000 |
commit | a034e7020c1997f77b7157695ccfc5ec3184b976 (patch) | |
tree | a5092c9e9730f288316ce9543887a8588fa593ae /src/transport/plugin_transport_wlan.c | |
parent | 0e1655d3f9e192366fae233f80256922f8452957 (diff) | |
download | gnunet-a034e7020c1997f77b7157695ccfc5ec3184b976.tar.gz gnunet-a034e7020c1997f77b7157695ccfc5ec3184b976.zip |
Error in test for filename
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index dd21d5eff..c012e950c 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -64,7 +64,7 @@ | |||
64 | /** | 64 | /** |
65 | * scaling factor for hello beacon | 65 | * scaling factor for hello beacon |
66 | */ | 66 | */ |
67 | #define HALLO_BEACON_SCALING_FACTOR 900 | 67 | #define HALLO_BEACON_SCALING_FACTOR 1 |
68 | 68 | ||
69 | /** | 69 | /** |
70 | * max size of fragment queue | 70 | * max size of fragment queue |
@@ -2754,14 +2754,14 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin, int testmode) | |||
2754 | filenamehw, plugin->interface, testmode); | 2754 | filenamehw, plugin->interface, testmode); |
2755 | #endif | 2755 | #endif |
2756 | 2756 | ||
2757 | if (GNUNET_OS_check_helper_binary(filenameloopback) == GNUNET_YES) | 2757 | if (GNUNET_OS_check_helper_binary(filenamehw) == GNUNET_YES) |
2758 | { | 2758 | { |
2759 | plugin->server_proc = | 2759 | plugin->server_proc = |
2760 | GNUNET_OS_start_process (plugin->server_stdin, plugin->server_stdout, | 2760 | GNUNET_OS_start_process (plugin->server_stdin, plugin->server_stdout, |
2761 | filenamehw, filenamehw, plugin->interface, | 2761 | filenamehw, filenamehw, plugin->interface, |
2762 | NULL); | 2762 | NULL); |
2763 | } | 2763 | } |
2764 | else if (GNUNET_OS_check_helper_binary(filenameloopback) == GNUNET_NO) | 2764 | else if (GNUNET_OS_check_helper_binary(filenamehw) == GNUNET_NO) |
2765 | { | 2765 | { |
2766 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, PLUGIN_LOG_NAME, | 2766 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, PLUGIN_LOG_NAME, |
2767 | "gnunet-transport-wlan-helper is not suid, please change it or look at the doku\n"); | 2767 | "gnunet-transport-wlan-helper is not suid, please change it or look at the doku\n"); |