projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef2fb4
)
-check return value
author
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2012 10:25:25 +0000
(10:25 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2012 10:25:25 +0000
(10:25 +0000)
src/util/helper.c
patch
|
blob
|
history
diff --git
a/src/util/helper.c
b/src/util/helper.c
index bbcd772854168ba05ad100422cf7c2e15eaca067..6ebc3a444996dcfaf16e7d1888fc06ca947f6f68 100644
(file)
--- a/
src/util/helper.c
+++ b/
src/util/helper.c
@@
-152,8
+152,8
@@
stop_helper (struct GNUNET_HELPER_Handle *h)
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;
}