From 836d9e75481db1162d1c93c891f0be2d8f2766f4 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 27 Jun 2011 17:02:59 +0000 Subject: [PATCH] Fix last commit --- src/mesh/gnunet-service-mesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index fe497f1a1..53c38ce5e 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -921,7 +921,7 @@ send_p2p_tunnel_destroy(void *cls, size_t size, void *buf) size_t send_client_raw (void *cls, size_t size, void *buf) { - GNUNET_MessageHeader *msg = cls; + struct GNUNET_MessageHeader *msg = cls; size_t msg_size; msg_size = ntohs(msg->size); @@ -1183,7 +1183,7 @@ handle_mesh_data_unicast (void *cls, payload_type = ntohs(msg[1].header.type); for (c = clients; NULL != c; c = c->next) { if (is_client_subscribed(payload_type, c)) { - GNUNET_SERVER_notify_transmit_ready(c, + GNUNET_SERVER_notify_transmit_ready(c->handle, size - sizeof(struct GNUNET_MESH_DataMessageFromOrigin), GNUNET_TIME_UNIT_FOREVER_REL, send_client_raw, -- 2.25.1