aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r--src/arm/arm_api.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index 6d6cb978f..c15c59875 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -470,7 +470,6 @@ handle_response (void *cls, const struct GNUNET_MessageHeader *msg)
470 GNUNET_CLIENT_disconnect (sc->h->client, GNUNET_NO); 470 GNUNET_CLIENT_disconnect (sc->h->client, GNUNET_NO);
471 sc->h->client = GNUNET_CLIENT_connect ("arm", sc->h->cfg); 471 sc->h->client = GNUNET_CLIENT_connect ("arm", sc->h->cfg);
472 GNUNET_assert (NULL != sc->h->client); 472 GNUNET_assert (NULL != sc->h->client);
473 GNUNET_CLIENT_ignore_shutdown (sc->h->client, GNUNET_YES);
474 if (sc->callback != NULL) 473 if (sc->callback != NULL)
475 sc->callback (sc->cls, GNUNET_SYSERR); 474 sc->callback (sc->cls, GNUNET_SYSERR);
476 GNUNET_free (sc); 475 GNUNET_free (sc);
@@ -618,7 +617,6 @@ GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, const char *service_name,
618 } 617 }
619 LOG (GNUNET_ERROR_TYPE_DEBUG, 618 LOG (GNUNET_ERROR_TYPE_DEBUG,
620 "arm_api, GNUNET_CLIENT_connect returned non-NULL\n"); 619 "arm_api, GNUNET_CLIENT_connect returned non-NULL\n");
621 GNUNET_CLIENT_ignore_shutdown (client, GNUNET_YES);
622 h->client = client; 620 h->client = client;
623 } 621 }
624 LOG (GNUNET_ERROR_TYPE_DEBUG, "arm_api, h->client non-NULL\n"); 622 LOG (GNUNET_ERROR_TYPE_DEBUG, "arm_api, h->client non-NULL\n");
@@ -673,7 +671,6 @@ GNUNET_ARM_stop_service (struct GNUNET_ARM_Handle *h, const char *service_name,
673 cb (cb_cls, GNUNET_SYSERR); 671 cb (cb_cls, GNUNET_SYSERR);
674 return; 672 return;
675 } 673 }
676 GNUNET_CLIENT_ignore_shutdown (client, GNUNET_YES);
677 h->client = client; 674 h->client = client;
678 } 675 }
679 if (0 == strcasecmp ("arm", service_name)) 676 if (0 == strcasecmp ("arm", service_name))