diff options
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 69598a728..420b9a1cc 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -2180,7 +2180,7 @@ send_message (const struct GNUNET_MessageHeader *message, | |||
2180 | neighbor = peer_info_get (peer); | 2180 | neighbor = peer_info_get (peer); |
2181 | for (p = neighbor->path_head; NULL != p; p = p->next) | 2181 | for (p = neighbor->path_head; NULL != p; p = p->next) |
2182 | { | 2182 | { |
2183 | if (2 == p->length) | 2183 | if (2 >= p->length) |
2184 | { | 2184 | { |
2185 | break; | 2185 | break; |
2186 | } | 2186 | } |
@@ -4465,7 +4465,8 @@ handle_mesh_data_unicast (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
4465 | " it's for us! sending to clients...\n"); | 4465 | " it's for us! sending to clients...\n"); |
4466 | GNUNET_STATISTICS_update (stats, "# unicast received", 1, GNUNET_NO); | 4466 | GNUNET_STATISTICS_update (stats, "# unicast received", 1, GNUNET_NO); |
4467 | send_subscribed_clients (message, (struct GNUNET_MessageHeader *) &msg[1]); | 4467 | send_subscribed_clients (message, (struct GNUNET_MessageHeader *) &msg[1]); |
4468 | tunnel_send_ack (t, GNUNET_MESSAGE_TYPE_MESH_ACK); // FIXME send after client processes the packet | 4468 | // FIXME send after client processes the packet |
4469 | tunnel_send_ack (t, GNUNET_MESSAGE_TYPE_MESH_ACK); | ||
4469 | return GNUNET_OK; | 4470 | return GNUNET_OK; |
4470 | } | 4471 | } |
4471 | ttl = ntohl (msg->ttl); | 4472 | ttl = ntohl (msg->ttl); |