[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24770 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24770 - gnunet/src/transport |
Date: |
Mon, 5 Nov 2012 18:50:13 +0100 |
Author: grothoff
Date: 2012-11-05 18:50:13 +0100 (Mon, 05 Nov 2012)
New Revision: 24770
Modified:
gnunet/src/transport/plugin_transport_wlan.c
Log:
-yet another libexec fix
Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c 2012-11-05 17:43:37 UTC
(rev 24769)
+++ gnunet/src/transport/plugin_transport_wlan.c 2012-11-05 17:50:13 UTC
(rev 24770)
@@ -1703,6 +1703,7 @@
struct Plugin *plugin;
char *interface;
unsigned long long testmode;
+ char *binary;
/* check for 'special' mode */
if (NULL == env->receive)
@@ -1730,14 +1731,17 @@
"transport-wlan", "TESTMODE");
return NULL;
}
+ binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-transport-wlan");
if ( (0 == testmode) &&
- (GNUNET_YES != GNUNET_OS_check_helper_binary
("gnunet-helper-transport-wlan")) )
+ (GNUNET_YES != GNUNET_OS_check_helper_binary (binary)) )
{
LOG (GNUNET_ERROR_TYPE_ERROR,
_("Helper binary `%s' not SUID, cannot run WLAN transport\n"),
"gnunet-helper-transport-wlan");
+ GNUNET_free (binary);
return NULL;
}
+ GNUNET_free (binary);
if (GNUNET_YES !=
GNUNET_CONFIGURATION_get_value_string
(env->cfg, "transport-wlan", "INTERFACE",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24770 - gnunet/src/transport,
gnunet <=