[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24649 - gnunet-gtk/src/setup
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24649 - gnunet-gtk/src/setup |
Date: |
Wed, 31 Oct 2012 23:36:54 +0100 |
Author: grothoff
Date: 2012-10-31 23:36:54 +0100 (Wed, 31 Oct 2012)
New Revision: 24649
Modified:
gnunet-gtk/src/setup/gnunet-setup-hostlist-server.c
Log:
-fix calling gnunet-daemon-hostlist in libexec
Modified: gnunet-gtk/src/setup/gnunet-setup-hostlist-server.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-hostlist-server.c 2012-10-31 22:33:55 UTC
(rev 24648)
+++ gnunet-gtk/src/setup/gnunet-setup-hostlist-server.c 2012-10-31 22:36:54 UTC
(rev 24649)
@@ -156,18 +156,21 @@
void *cls)
{
struct CommandContext *ctx;
+ char *binary;
ctx = GNUNET_malloc (sizeof (struct CommandContext));
ctx->callback = callback;
ctx->callback_cls = cls;
ctx->found = GNUNET_NO;
+ binary = GNUNET_OS_get_libexec_binary_path ("gnunet-daemon-hostlist");
ctx->cmd = GNUNET_OS_command_run (&process_hostlist_daemon_output,
ctx,
CMD_TIMEOUT,
+ binary,
"gnunet-daemon-hostlist",
- "gnunet-daemon-hostlist",
"-h",
NULL);
+ GNUNET_free (binary);
if (NULL == ctx->cmd)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24649 - gnunet-gtk/src/setup,
gnunet <=