aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r--src/mesh/gnunet-service-mesh_local.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c
index 764ebd68f..7b58f0854 100644
--- a/src/mesh/gnunet-service-mesh_local.c
+++ b/src/mesh/gnunet-service-mesh_local.c
@@ -30,7 +30,7 @@
30 30
31/** 31/**
32 * Struct containing information about a client of the service 32 * Struct containing information about a client of the service
33 * 33 *
34 * TODO: add a list of 'waiting' ports 34 * TODO: add a list of 'waiting' ports
35 */ 35 */
36struct MeshClient 36struct MeshClient
@@ -462,7 +462,7 @@ handle_channel_destroy (void *cls, struct GNUNET_SERVER_Client *client,
462 { 462 {
463 ch->root = NULL; 463 ch->root = NULL;
464 } 464 }
465 else 465 else
466 { 466 {
467 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 467 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
468 " channel %X client %p (%p, %p)\n", 468 " channel %X client %p (%p, %p)\n",
@@ -538,7 +538,7 @@ handle_data (void *cls, struct GNUNET_SERVER_Client *client,
538 ch->root->handle == client) 538 ch->root->handle == client)
539 || 539 ||
540 (!fwd && 540 (!fwd &&
541 ch->dest && 541 ch->dest &&
542 ch->dest->handle == client) ) ) 542 ch->dest->handle == client) ) )
543 { 543 {
544 GNUNET_break (0); 544 GNUNET_break (0);
@@ -654,16 +654,16 @@ handle_ack (void *cls, struct GNUNET_SERVER_Client *client,
654// struct GNUNET_SERVER_Client *client = cls; 654// struct GNUNET_SERVER_Client *client = cls;
655// struct MeshChannel *ch = value; 655// struct MeshChannel *ch = value;
656// struct GNUNET_MESH_LocalMonitor *msg; 656// struct GNUNET_MESH_LocalMonitor *msg;
657// 657//
658// msg = GNUNET_malloc (sizeof(struct GNUNET_MESH_LocalMonitor)); 658// msg = GNUNET_malloc (sizeof(struct GNUNET_MESH_LocalMonitor));
659// msg->channel_id = htonl (ch->gid); 659// msg->channel_id = htonl (ch->gid);
660// msg->header.size = htons (sizeof (struct GNUNET_MESH_LocalMonitor)); 660// msg->header.size = htons (sizeof (struct GNUNET_MESH_LocalMonitor));
661// msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNELS); 661// msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNELS);
662// 662//
663// GNUNET_log (GNUNET_ERROR_TYPE_INFO, 663// GNUNET_log (GNUNET_ERROR_TYPE_INFO,
664// "* sending info about tunnel %s\n", 664// "* sending info about tunnel %s\n",
665// GNUNET_i2s (&msg->owner)); 665// GNUNET_i2s (&msg->owner));
666// 666//
667// GNUNET_SERVER_notification_context_unicast (nc, client, 667// GNUNET_SERVER_notification_context_unicast (nc, client,
668// &msg->header, GNUNET_NO); 668// &msg->header, GNUNET_NO);
669// return GNUNET_YES; 669// return GNUNET_YES;