aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-11-27 01:41:43 +0000
committerBart Polot <bart@net.in.tum.de>2013-11-27 01:41:43 +0000
commit5fbb57dd6719f3672c8b63e2985002c6fa0f6ccd (patch)
treea8ff521a04e84aa7e059c1f7db0acbe5bc028c00
parent447ebb5371c2cdc54aa6d5a39919cfee688c2b8e (diff)
downloadgnunet-5fbb57dd6719f3672c8b63e2985002c6fa0f6ccd.tar.gz
gnunet-5fbb57dd6719f3672c8b63e2985002c6fa0f6ccd.zip
- log
-rw-r--r--src/mesh/gnunet-service-mesh_local.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c
index 2d4db7ad0..fb12be3db 100644
--- a/src/mesh/gnunet-service-mesh_local.c
+++ b/src/mesh/gnunet-service-mesh_local.c
@@ -295,7 +295,7 @@ handle_new_client (void *cls, struct GNUNET_SERVER_Client *client,
295 uint32_t *p; 295 uint32_t *p;
296 unsigned int i; 296 unsigned int i;
297 297
298 LOG (GNUNET_ERROR_TYPE_DEBUG, "new client connected %p\n", client); 298 LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nnew client connected %p\n", client);
299 299
300 /* Check data sanity */ 300 /* Check data sanity */
301 size = ntohs (message->size) - sizeof (struct GNUNET_MESH_ClientConnect); 301 size = ntohs (message->size) - sizeof (struct GNUNET_MESH_ClientConnect);
@@ -357,7 +357,7 @@ handle_channel_create (void *cls, struct GNUNET_SERVER_Client *client,
357{ 357{
358 struct MeshClient *c; 358 struct MeshClient *c;
359 359
360 LOG (GNUNET_ERROR_TYPE_DEBUG, "new channel requested\n"); 360 LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nnew channel requested\n");
361 361
362 /* Sanity check for client registration */ 362 /* Sanity check for client registration */
363 if (NULL == (c = GML_client_get (client))) 363 if (NULL == (c = GML_client_get (client)))
@@ -405,8 +405,7 @@ handle_channel_destroy (void *cls, struct GNUNET_SERVER_Client *client,
405 struct MeshChannel *ch; 405 struct MeshChannel *ch;
406 MESH_ChannelNumber chid; 406 MESH_ChannelNumber chid;
407 407
408 LOG (GNUNET_ERROR_TYPE_DEBUG, 408 LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nGot a DESTROY CHANNEL from client!\n");
409 "Got a DESTROY CHANNEL from client!\n");
410 409
411 /* Sanity check for client registration */ 410 /* Sanity check for client registration */
412 if (NULL == (c = GML_client_get (client))) 411 if (NULL == (c = GML_client_get (client)))
@@ -464,8 +463,7 @@ handle_data (void *cls, struct GNUNET_SERVER_Client *client,
464 size_t size; 463 size_t size;
465 int fwd; 464 int fwd;
466 465
467 LOG (GNUNET_ERROR_TYPE_DEBUG, 466 LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nGot data from a client!\n");
468 "Got data from a client!\n");
469 467
470 /* Sanity check for client registration */ 468 /* Sanity check for client registration */
471 if (NULL == (c = GML_client_get (client))) 469 if (NULL == (c = GML_client_get (client)))
@@ -531,7 +529,7 @@ handle_ack (void *cls, struct GNUNET_SERVER_Client *client,
531 MESH_ChannelNumber chid; 529 MESH_ChannelNumber chid;
532 int fwd; 530 int fwd;
533 531
534 LOG (GNUNET_ERROR_TYPE_DEBUG, "Got a local ACK\n"); 532 LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nGot a local ACK\n");
535 533
536 /* Sanity check for client registration */ 534 /* Sanity check for client registration */
537 if (NULL == (c = GML_client_get (client))) 535 if (NULL == (c = GML_client_get (client)))