diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-02-13 20:18:12 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-02-13 20:18:12 +0000 |
commit | 641a810ccb6d26acaf188066efbd1a98c76be67e (patch) | |
tree | dd71caa9bf2613c706357e7d9c84943f6c96ecee | |
parent | fb3f9328589ff271a2840a982792522787dde2a4 (diff) | |
download | gnunet-641a810ccb6d26acaf188066efbd1a98c76be67e.tar.gz gnunet-641a810ccb6d26acaf188066efbd1a98c76be67e.zip |
- cleanup log messages
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 2 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_hello.c | 4 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index e6ba01c4b..10b65aa5d 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -144,7 +144,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
144 | GNUNET_CRYPTO_eddsa_key_get_public (my_private_key, &my_full_id.public_key); | 144 | GNUNET_CRYPTO_eddsa_key_get_public (my_private_key, &my_full_id.public_key); |
145 | myid = GNUNET_PEER_intern (&my_full_id); | 145 | myid = GNUNET_PEER_intern (&my_full_id); |
146 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 146 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
147 | "Mesh for peer [%s] starting\n", | 147 | "STARTING SERVICE (MESH) for peer [%s]\n", |
148 | GNUNET_i2s (&my_full_id)); | 148 | GNUNET_i2s (&my_full_id)); |
149 | 149 | ||
150 | GML_init (server); /* Local clients */ | 150 | GML_init (server); /* Local clients */ |
diff --git a/src/mesh/gnunet-service-mesh_hello.c b/src/mesh/gnunet-service-mesh_hello.c index 971b26bdf..723989bf8 100644 --- a/src/mesh/gnunet-service-mesh_hello.c +++ b/src/mesh/gnunet-service-mesh_hello.c | |||
@@ -105,9 +105,9 @@ got_hello (void *cls, const struct GNUNET_PeerIdentity *id, | |||
105 | LOG (GNUNET_ERROR_TYPE_DEBUG, " hello with id %p and msg %p\n", id, hello); | 105 | LOG (GNUNET_ERROR_TYPE_DEBUG, " hello with id %p and msg %p\n", id, hello); |
106 | return; | 106 | return; |
107 | } | 107 | } |
108 | LOG (GNUNET_ERROR_TYPE_INFO, " hello for %s (%d bytes), expires on %s\n", | 108 | LOG (GNUNET_ERROR_TYPE_DEBUG, " hello for %s (%d bytes), expires on %s\n", |
109 | GNUNET_i2s (id), NULL != hello ? GNUNET_HELLO_size (hello) : -1, | 109 | GNUNET_i2s (id), NULL != hello ? GNUNET_HELLO_size (hello) : -1, |
110 | GNUNET_STRINGS_absolute_time_to_string(GNUNET_HELLO_get_last_expiration(hello))); | 110 | GNUNET_STRINGS_absolute_time_to_string (GNUNET_HELLO_get_last_expiration(hello))); |
111 | if (NULL == hello) | 111 | if (NULL == hello) |
112 | { | 112 | { |
113 | LOG (GNUNET_ERROR_TYPE_DEBUG, " hello is NULL\n"); | 113 | LOG (GNUNET_ERROR_TYPE_DEBUG, " hello is NULL\n"); |
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 7c614d261..7eea84bef 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -411,7 +411,7 @@ handle_channel_destroy (void *cls, struct GNUNET_SERVER_Client *client, | |||
411 | struct MeshChannel *ch; | 411 | struct MeshChannel *ch; |
412 | MESH_ChannelNumber chid; | 412 | MESH_ChannelNumber chid; |
413 | 413 | ||
414 | LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nGot a DESTROY CHANNEL from client!\n"); | 414 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Got a DESTROY CHANNEL from client!\n"); |
415 | 415 | ||
416 | /* Sanity check for client registration */ | 416 | /* Sanity check for client registration */ |
417 | if (NULL == (c = GML_client_get (client))) | 417 | if (NULL == (c = GML_client_get (client))) |
@@ -471,7 +471,7 @@ handle_data (void *cls, struct GNUNET_SERVER_Client *client, | |||
471 | size_t size; | 471 | size_t size; |
472 | int fwd; | 472 | int fwd; |
473 | 473 | ||
474 | LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\nGot data from a client!\n"); | 474 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Got data from a client!\n"); |
475 | 475 | ||
476 | /* Sanity check for client registration */ | 476 | /* Sanity check for client registration */ |
477 | if (NULL == (c = GML_client_get (client))) | 477 | if (NULL == (c = GML_client_get (client))) |