From: David Brodski Date: Wed, 14 Sep 2011 08:53:52 +0000 (+0000) Subject: Error in test for filename X-Git-Tag: initial-import-from-subversion-38251~17124 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a034e7020c1997f77b7157695ccfc5ec3184b976;p=oweals%2Fgnunet.git Error in test for filename --- 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 @@ /** * scaling factor for hello beacon */ -#define HALLO_BEACON_SCALING_FACTOR 900 +#define HALLO_BEACON_SCALING_FACTOR 1 /** * max size of fragment queue @@ -2754,14 +2754,14 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin, int testmode) filenamehw, plugin->interface, testmode); #endif - if (GNUNET_OS_check_helper_binary(filenameloopback) == GNUNET_YES) + if (GNUNET_OS_check_helper_binary(filenamehw) == GNUNET_YES) { plugin->server_proc = GNUNET_OS_start_process (plugin->server_stdin, plugin->server_stdout, filenamehw, filenamehw, plugin->interface, NULL); } - else if (GNUNET_OS_check_helper_binary(filenameloopback) == GNUNET_NO) + else if (GNUNET_OS_check_helper_binary(filenamehw) == GNUNET_NO) { GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, PLUGIN_LOG_NAME, "gnunet-transport-wlan-helper is not suid, please change it or look at the doku\n");