- log
[oweals/gnunet.git] / src / util / helper.c
index 21f196ebce8219d6e86dd9ab5c2a59f362d1a584..105ccf0577c03f947df9acaffff978b08eba98f4 100644 (file)
@@ -208,7 +208,7 @@ GNUNET_HELPER_kill (struct GNUNET_HELPER_Handle *h,
     h->fh_to_helper = NULL;
     return ret;
   }
-  if (0 != GNUNET_OS_process_kill (h->helper_proc, SIGTERM))
+  if (0 != GNUNET_OS_process_kill (h->helper_proc, GNUNET_TERM_SIG))
     return GNUNET_SYSERR;
   return GNUNET_OK;
 }
@@ -426,7 +426,7 @@ start_helper (struct GNUNET_HELPER_Handle *h)
       GNUNET_DISK_pipe_handle (h->helper_in, GNUNET_DISK_PIPE_END_WRITE);
   h->helper_proc =
     GNUNET_OS_start_process_vap (h->with_control_pipe, GNUNET_OS_INHERIT_STD_ERR,
-                                h->helper_in, h->helper_out,
+                                h->helper_in, h->helper_out, NULL,
                                 h->binary_name,
                                 h->binary_argv);
   if (NULL == h->helper_proc)