[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19378 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19378 - gnunet/src/util |
Date: |
Wed, 25 Jan 2012 11:25:25 +0100 |
Author: grothoff
Date: 2012-01-25 11:25:25 +0100 (Wed, 25 Jan 2012)
New Revision: 19378
Modified:
gnunet/src/util/helper.c
Log:
-check return value
Modified: gnunet/src/util/helper.c
===================================================================
--- gnunet/src/util/helper.c 2012-01-25 10:23:55 UTC (rev 19377)
+++ gnunet/src/util/helper.c 2012-01-25 10:25:25 UTC (rev 19378)
@@ -152,8 +152,8 @@
if (NULL != h->helper_proc)
{
- GNUNET_OS_process_kill (h->helper_proc, SIGTERM);
- GNUNET_OS_process_wait (h->helper_proc);
+ GNUNET_break (0 == GNUNET_OS_process_kill (h->helper_proc, SIGTERM));
+ GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (h->helper_proc));
GNUNET_OS_process_close (h->helper_proc);
h->helper_proc = NULL;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19378 - gnunet/src/util,
gnunet <=