aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/gnunet-service-mesh.c4
1 files 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)
921size_t 921size_t
922send_client_raw (void *cls, size_t size, void *buf) 922send_client_raw (void *cls, size_t size, void *buf)
923{ 923{
924 GNUNET_MessageHeader *msg = cls; 924 struct GNUNET_MessageHeader *msg = cls;
925 size_t msg_size; 925 size_t msg_size;
926 926
927 msg_size = ntohs(msg->size); 927 msg_size = ntohs(msg->size);
@@ -1183,7 +1183,7 @@ handle_mesh_data_unicast (void *cls,
1183 payload_type = ntohs(msg[1].header.type); 1183 payload_type = ntohs(msg[1].header.type);
1184 for (c = clients; NULL != c; c = c->next) { 1184 for (c = clients; NULL != c; c = c->next) {
1185 if (is_client_subscribed(payload_type, c)) { 1185 if (is_client_subscribed(payload_type, c)) {
1186 GNUNET_SERVER_notify_transmit_ready(c, 1186 GNUNET_SERVER_notify_transmit_ready(c->handle,
1187 size - sizeof(struct GNUNET_MESH_DataMessageFromOrigin), 1187 size - sizeof(struct GNUNET_MESH_DataMessageFromOrigin),
1188 GNUNET_TIME_UNIT_FOREVER_REL, 1188 GNUNET_TIME_UNIT_FOREVER_REL,
1189 send_client_raw, 1189 send_client_raw,