From: Bart Polot Date: Mon, 27 Jun 2011 17:02:59 +0000 (+0000) Subject: Fix last commit X-Git-Tag: initial-import-from-subversion-38251~18029 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=836d9e75481db1162d1c93c891f0be2d8f2766f4;p=oweals%2Fgnunet.git Fix last commit --- 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,