From 306b7ec765795d7fea8283e8b07d7ea179a12d2d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 30 May 2013 18:14:07 +0000 Subject: [PATCH] -fix --- src/arm/arm_api.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c index 8cdcfdeb5..4ef6b3c27 100644 --- a/src/arm/arm_api.c +++ b/src/arm/arm_api.c @@ -575,8 +575,7 @@ trigger_next_request (struct GNUNET_ARM_Handle *h, int ignore_currently_down) } if (NULL != h->control_pending_head) msize = - ntohs (((struct GNUNET_MessageHeader *) &h-> - control_pending_head[1])->size); + ntohs (h->control_pending_head->msg->header.size); else if (GNUNET_NO == ignore_currently_down) { LOG (GNUNET_ERROR_TYPE_DEBUG, -- 2.25.1