gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r16829 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r16829 - gnunet/src/transport
Date: Wed, 14 Sep 2011 10:53:52 +0200

Author: brodski
Date: 2011-09-14 10:53:52 +0200 (Wed, 14 Sep 2011)
New Revision: 16829

Modified:
   gnunet/src/transport/plugin_transport_wlan.c
Log:
Error in test for filename

Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c        2011-09-14 08:47:49 UTC 
(rev 16828)
+++ gnunet/src/transport/plugin_transport_wlan.c        2011-09-14 08:53:52 UTC 
(rev 16829)
@@ -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 @@
                      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");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]