diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 98bd498a1..f8d578679 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -1905,7 +1905,7 @@ send_subscribed_clients (const struct GNUNET_MessageHeader *msg, | |||
1905 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " sending\n"); | 1905 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " sending\n"); |
1906 | GNUNET_SERVER_notification_context_unicast (nc, c->handle, | 1906 | GNUNET_SERVER_notification_context_unicast (nc, c->handle, |
1907 | (struct GNUNET_MessageHeader | 1907 | (struct GNUNET_MessageHeader |
1908 | *) cbuf, GNUNET_YES); | 1908 | *) cbuf, GNUNET_NO); |
1909 | } | 1909 | } |
1910 | } | 1910 | } |
1911 | return count; | 1911 | return count; |
@@ -4662,7 +4662,7 @@ handle_mesh_data_to_orig (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
4662 | copy->tid = htonl (t->local_tid); | 4662 | copy->tid = htonl (t->local_tid); |
4663 | GNUNET_STATISTICS_update (stats, "# to origin received", 1, GNUNET_NO); | 4663 | GNUNET_STATISTICS_update (stats, "# to origin received", 1, GNUNET_NO); |
4664 | GNUNET_SERVER_notification_context_unicast (nc, t->owner->handle, | 4664 | GNUNET_SERVER_notification_context_unicast (nc, t->owner->handle, |
4665 | ©->header, GNUNET_YES); | 4665 | ©->header, GNUNET_NO); |
4666 | return GNUNET_OK; | 4666 | return GNUNET_OK; |
4667 | } | 4667 | } |
4668 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 4668 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -6872,8 +6872,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
6872 | types = GNUNET_CONTAINER_multihashmap_create (32); | 6872 | types = GNUNET_CONTAINER_multihashmap_create (32); |
6873 | 6873 | ||
6874 | GNUNET_SERVER_add_handlers (server_handle, client_handlers); | 6874 | GNUNET_SERVER_add_handlers (server_handle, client_handlers); |
6875 | nc = GNUNET_SERVER_notification_context_create (server_handle, | 6875 | nc = GNUNET_SERVER_notification_context_create (server_handle, 1); |
6876 | LOCAL_QUEUE_SIZE); | ||
6877 | GNUNET_SERVER_disconnect_notify (server_handle, | 6876 | GNUNET_SERVER_disconnect_notify (server_handle, |
6878 | &handle_local_client_disconnect, NULL); | 6877 | &handle_local_client_disconnect, NULL); |
6879 | 6878 | ||