X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fchat%2Ftest_chat.c;h=24a1e38da8551cbebd64c6c8745252c52be51fb0;hb=d0b4927e6ab7e8b9874dd7807055e77fb4c5163f;hp=5dcb879663d8d3da78376adb13faae1d2fefe02f;hpb=8f9464256fc06a884bf589b4004262a0549d11b3;p=oweals%2Fgnunet.git diff --git a/src/chat/test_chat.c b/src/chat/test_chat.c index 5dcb87966..24a1e38da 100644 --- a/src/chat/test_chat.c +++ b/src/chat/test_chat.c @@ -116,17 +116,18 @@ static int is_auth; static void setup_peer (struct PeerContext *p, const char *cfgname) { + char *binary; + + binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-arm"); p->cfg = GNUNET_CONFIGURATION_create (); #if START_ARM p->arm_proc = - GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, "gnunet-service-arm", + GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, binary, "gnunet-service-arm", -#if VERBOSE - "-L", "DEBUG", -#endif "-c", cfgname, NULL); #endif GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); + GNUNET_free (binary); }