From cbd09ba94fde1331cb4fe6ea29f5f164adc8db25 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 8 Dec 2011 15:45:10 +0000 Subject: major rewrite of ARM service and a bit of the ARM IPC to take advantage of the simplifications possible now that we no longer intercept traffic; the new code in particular is better at communicating what exactly ARM was doing in response to requests. A major change is that gnunet-arm -i/-k now only impacts if a service is running by-default, on-demand starting is no longer impacted, option -t from gnunet-arm was removed --- src/arm/mockup-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arm/mockup-service.c') diff --git a/src/arm/mockup-service.c b/src/arm/mockup-service.c index 53a502fa8..1e9748809 100644 --- a/src/arm/mockup-service.c +++ b/src/arm/mockup-service.c @@ -46,7 +46,7 @@ transmit_shutdown_ack (void *cls, size_t size, void *buf) GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Transmitting shutdown ACK.\n")); msg = (struct GNUNET_MessageHeader *) buf; - msg->type = htons (GNUNET_MESSAGE_TYPE_ARM_SHUTDOWN_ACK); + msg->type = htons (GNUNET_MESSAGE_TYPE_ARM_SHUTDOWN); msg->size = htons (sizeof (struct GNUNET_MessageHeader)); GNUNET_SERVER_receive_done (client, GNUNET_OK); GNUNET_SERVER_client_drop (client); -- cgit v1.2.3