diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-06-27 17:02:59 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-06-27 17:02:59 +0000 |
commit | 836d9e75481db1162d1c93c891f0be2d8f2766f4 (patch) | |
tree | 09293d33d41aa6a59665299a316644e8997a264c | |
parent | a3982a7b6723b8adb052f8c446a662258f34a4d4 (diff) | |
download | gnunet-836d9e75481db1162d1c93c891f0be2d8f2766f4.tar.gz gnunet-836d9e75481db1162d1c93c891f0be2d8f2766f4.zip |
Fix last commit
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 4 |
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) | |||
921 | size_t | 921 | size_t |
922 | send_client_raw (void *cls, size_t size, void *buf) | 922 | send_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, |