diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-06 13:07:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-06 13:07:21 +0000 |
commit | 0e66068912b62ffc503f4c6073e3a0317344559f (patch) | |
tree | ee83c32aa64923a46c780a413579cf025205f1db /src | |
parent | 47f388200ca60cc75329e9b5f562e30bf2733b48 (diff) | |
download | gnunet-0e66068912b62ffc503f4c6073e3a0317344559f.tar.gz gnunet-0e66068912b62ffc503f4c6073e3a0317344559f.zip |
move log statement
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/gnunet-service-arm.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index be2b6aa1d..7a217b482 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c | |||
@@ -577,11 +577,6 @@ stop_service (struct GNUNET_SERVER_Client *client, const char *servicename) | |||
577 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 577 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
578 | return; | 578 | return; |
579 | } | 579 | } |
580 | #if DEBUG_ARM | ||
581 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
582 | "Sending kill signal to service `%s', waiting for process to die.\n", | ||
583 | servicename); | ||
584 | #endif | ||
585 | if (pos->pid == 0) | 580 | if (pos->pid == 0) |
586 | { | 581 | { |
587 | /* process is in delayed restart, simply remove it! */ | 582 | /* process is in delayed restart, simply remove it! */ |
@@ -590,7 +585,11 @@ stop_service (struct GNUNET_SERVER_Client *client, const char *servicename) | |||
590 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 585 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
591 | return; | 586 | return; |
592 | } | 587 | } |
593 | 588 | #if DEBUG_ARM | |
589 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
590 | "Sending kill signal to service `%s', waiting for process to die.\n", | ||
591 | servicename); | ||
592 | #endif | ||
594 | if (0 != PLIBC_KILL (pos->pid, SIGTERM)) | 593 | if (0 != PLIBC_KILL (pos->pid, SIGTERM)) |
595 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 594 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
596 | pos->next = running; | 595 | pos->next = running; |