diff options
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 379609c96..2b55f0822 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -861,15 +861,10 @@ send_subscribed_clients (const struct GNUNET_MessageHeader *msg, | |||
861 | // FIXME proper client differentiation mechanism required | 861 | // FIXME proper client differentiation mechanism required |
862 | if (htons (msg->type) == GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN) | 862 | if (htons (msg->type) == GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN) |
863 | *tid = htonl (t->local_tid); | 863 | *tid = htonl (t->local_tid); |
864 | else if(c == t->client) | ||
865 | *tid = htonl (t->local_tid); | ||
866 | else if(c == t->client_dest) | 864 | else if(c == t->client_dest) |
867 | *tid = htonl (t->local_tid_dest); | 865 | *tid = htonl (t->local_tid_dest); |
868 | else | 866 | else |
869 | { | 867 | *tid = htonl (t->local_tid); |
870 | GNUNET_break (0); | ||
871 | continue; | ||
872 | } | ||
873 | count++; | 868 | count++; |
874 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: sending\n"); | 869 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: sending\n"); |
875 | GNUNET_SERVER_notification_context_unicast (nc, c->handle, | 870 | GNUNET_SERVER_notification_context_unicast (nc, c->handle, |