[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24659 - gnunet-gtk/src/setup
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24659 - gnunet-gtk/src/setup |
Date: |
Thu, 1 Nov 2012 17:31:38 +0100 |
Author: grothoff
Date: 2012-11-01 17:31:38 +0100 (Thu, 01 Nov 2012)
New Revision: 24659
Modified:
gnunet-gtk/src/setup/gnunet-setup-transport.c
Log:
-more libexec fixes
Modified: gnunet-gtk/src/setup/gnunet-setup-transport.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-transport.c 2012-11-01 16:31:23 UTC
(rev 24658)
+++ gnunet-gtk/src/setup/gnunet-setup-transport.c 2012-11-01 16:31:38 UTC
(rev 24659)
@@ -428,8 +428,10 @@
{
int hns;
char *tmp;
+ char *binary;
tmp = NULL;
+ binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-server");
hns =
((GNUNET_OK ==
GNUNET_CONFIGURATION_get_value_string (cfg, "nat", "EXTERNAL_ADDRESS",
@@ -437,8 +439,9 @@
(GNUNET_YES ==
GNUNET_CONFIGURATION_get_value_yesno (cfg, "nat", "BEHIND_NAT")) &&
(GNUNET_YES ==
- GNUNET_OS_check_helper_binary ("gnunet-helper-nat-server")));
+ GNUNET_OS_check_helper_binary (binary)));
GNUNET_free_non_null (tmp);
+ GNUNET_free (binary);
if (hns)
GNUNET_SCHEDULER_add_now (&reversal_test, ac);
else
@@ -457,8 +460,10 @@
GtkToggleButton *button;
int hnc;
char *tmp;
+ char *binary;
tmp = NULL;
+ binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-nat-client");
hnc =
((GNUNET_OK ==
GNUNET_CONFIGURATION_get_value_string (cfg, "nat", "INTERNAL_ADDRESS",
@@ -466,8 +471,9 @@
(GNUNET_YES !=
GNUNET_CONFIGURATION_get_value_yesno (cfg, "nat", "BEHIND_NAT")) &&
(GNUNET_YES ==
- GNUNET_OS_check_helper_binary ("gnunet-helper-nat-client")));
+ GNUNET_OS_check_helper_binary (binary)));
GNUNET_free_non_null (tmp);
+ GNUNET_free (binary);
button =
GTK_TOGGLE_BUTTON (GNUNET_SETUP_get_object
("GNUNET_setup_transport_icmp_client_enable_checkbutton"));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24659 - gnunet-gtk/src/setup,
gnunet <=