aboutsummaryrefslogtreecommitdiff
path: root/src/arm/gnunet-service-arm.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-04 14:28:05 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-04 14:28:05 +0000
commit6b09ce1b38ed47b8827d28678765d5ab6d6b2ac2 (patch)
tree9e12b43421d070053ab40fdcaad32b519fb3b627 /src/arm/gnunet-service-arm.c
parent68525a1c4a138ad17baacf5231115495ceaa9620 (diff)
downloadgnunet-6b09ce1b38ed47b8827d28678765d5ab6d6b2ac2.tar.gz
gnunet-6b09ce1b38ed47b8827d28678765d5ab6d6b2ac2.zip
send confirmation if kill request is pending
Diffstat (limited to 'src/arm/gnunet-service-arm.c')
-rw-r--r--src/arm/gnunet-service-arm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c
index 2760f9156..42cfc49a4 100644
--- a/src/arm/gnunet-service-arm.c
+++ b/src/arm/gnunet-service-arm.c
@@ -636,8 +636,11 @@ maint (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
636 { 636 {
637 running = pos->next; 637 running = pos->next;
638 if (GNUNET_OK != GNUNET_OS_process_wait(pos->pid)) 638 if (GNUNET_OK != GNUNET_OS_process_wait(pos->pid))
639 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); 639 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid");
640 free_entry (pos); 640 if (NULL != pos->kill_continuation)
641 pos->kill_continuation (pos->kill_continuation_cls, pos);
642 else
643 free_entry (pos);
641 } 644 }
642 return; 645 return;
643 } 646 }