X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fmesh%2Fgnunet-service-mesh_local.c;h=9b868124a1d96b3f2d5c4dfbafd9151d2ed6386d;hb=33354bfe79f97acb2c98d08fa4f1c32f2d2b1220;hp=0fe98f44816c84b20f525f4ea7bfa55282e64cdd;hpb=0619087fbfdc6d93d421edee1a1320c494f18079;p=oweals%2Fgnunet.git diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 0fe98f448..9b868124a 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c @@ -179,6 +179,7 @@ handle_client_connect (void *cls, struct GNUNET_SERVER_Client *client) { struct MeshClient *c; + LOG (GNUNET_ERROR_TYPE_DEBUG, "client connected: %p\n", client); if (NULL == client) return; c = GNUNET_new (struct MeshClient); @@ -554,8 +555,8 @@ handle_ack (void *cls, struct GNUNET_SERVER_Client *client, return; } - /* If client is root, the ACK is going FWD, therefore this is "BCK". */ - /* If client is dest, the ACK is going BCK, therefore this is "FWD" */ + /* If client is root, the ACK is going FWD, therefore this is "BCK ACK". */ + /* If client is dest, the ACK is going BCK, therefore this is "FWD ACK" */ fwd = chid >= GNUNET_MESH_LOCAL_CHANNEL_ID_SERV; GMCH_handle_local_ack (ch, fwd); @@ -725,6 +726,7 @@ static struct GNUNET_SERVER_MessageHandler client_handlers[] = { void GML_init (struct GNUNET_SERVER_Handle *handle) { + LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); server_handle = handle; GNUNET_SERVER_suspend (server_handle); ports = GNUNET_CONTAINER_multihashmap32_create (32);