From 50544064ebd9fece7ac62ed81aebab2b3f19c789 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 16 Feb 2011 16:45:25 +0000 Subject: [PATCH] oops --- src/core/core_api_iterate_peers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core_api_iterate_peers.c b/src/core/core_api_iterate_peers.c index 8175b70c6..c257c13c9 100644 --- a/src/core/core_api_iterate_peers.c +++ b/src/core/core_api_iterate_peers.c @@ -152,7 +152,7 @@ transmit_request(void *cls, return 0; msg = (struct GNUNET_MessageHeader *)buf; - msg->size = htons (sizeof (struct GNUNET_MessageHeader)); + msg->size = htons (msize); msg->type = htons (GNUNET_MESSAGE_TYPE_CORE_ITERATE_PEERS); memcpy(&msg[1], peer, sizeof(struct GNUNET_PeerIdentity)); -- 2.25.1