diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-10 14:05:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-10 14:05:41 +0000 |
commit | 1020365c9b36987b8f6204bacb0adb665506f97a (patch) | |
tree | 282cfaf847dc321432780a09109624f4f3fca3ba /src/testbed/testbed_api_hosts.c | |
parent | 5b1d1a0f4b84952e71e0ee0852100d2ae038d1ed (diff) | |
download | gnunet-1020365c9b36987b8f6204bacb0adb665506f97a.tar.gz gnunet-1020365c9b36987b8f6204bacb0adb665506f97a.zip |
-minor fixes
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index f0c1ff772..2b86074f7 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -382,6 +382,13 @@ GNUNET_TESTBED_host_run_ (const struct GNUNET_TESTBED_Host *host, | |||
382 | argc++; | 382 | argc++; |
383 | h = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_HelperHandle)); | 383 | h = GNUNET_malloc (sizeof (struct GNUNET_TESTBED_HelperHandle)); |
384 | h->cpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_YES, GNUNET_NO); | 384 | h->cpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_YES, GNUNET_NO); |
385 | if (NULL == h->cpipe) | ||
386 | { | ||
387 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, | ||
388 | "pipe"); | ||
389 | GNUNET_free (h); | ||
390 | return NULL; | ||
391 | } | ||
385 | if ((NULL == host) || (0 == host->id)) | 392 | if ((NULL == host) || (0 == host->id)) |
386 | { | 393 | { |
387 | h->process = GNUNET_OS_start_process_vap (GNUNET_YES, | 394 | h->process = GNUNET_OS_start_process_vap (GNUNET_YES, |