diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-11 16:06:30 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-11 16:06:30 +0000 |
commit | aa50ef6c2964203747c45ba60b2bd7a816cb0267 (patch) | |
tree | aa0f2b5c65c7708aa002bd6183a63ed642ba84c6 /src/mesh | |
parent | 745856b09821ac9c4677dc0923cdc3e4411f94fb (diff) | |
download | gnunet-aa50ef6c2964203747c45ba60b2bd7a816cb0267.tar.gz gnunet-aa50ef6c2964203747c45ba60b2bd7a816cb0267.zip |
- debug
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh-enc.c | 4 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.c | 1 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_dht.c | 2 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 1 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_peer.c | 1 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 1 |
6 files changed, 7 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c index 22c70308d..47ac18d83 100644 --- a/src/mesh/gnunet-service-mesh-enc.c +++ b/src/mesh/gnunet-service-mesh-enc.c | |||
@@ -197,11 +197,11 @@ main (int argc, char *const *argv) | |||
197 | int ret; | 197 | int ret; |
198 | int r; | 198 | int r; |
199 | 199 | ||
200 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "main()\n"); | 200 | fprintf (stderr, "main()\n"); |
201 | r = GNUNET_SERVICE_run (argc, argv, "mesh", GNUNET_SERVICE_OPTION_NONE, &run, | 201 | r = GNUNET_SERVICE_run (argc, argv, "mesh", GNUNET_SERVICE_OPTION_NONE, &run, |
202 | NULL); | 202 | NULL); |
203 | ret = (GNUNET_OK == r) ? 0 : 1; | 203 | ret = (GNUNET_OK == r) ? 0 : 1; |
204 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "main() END\n"); | 204 | fprintf (stderr, "main() END\n"); |
205 | 205 | ||
206 | return ret; | 206 | return ret; |
207 | } | 207 | } |
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index fbc021154..c3aee6f38 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c | |||
@@ -1713,6 +1713,7 @@ GMC_send_ack (struct MeshConnection *c, struct MeshChannel *ch, int fwd) | |||
1713 | void | 1713 | void |
1714 | GMC_init (const struct GNUNET_CONFIGURATION_Handle *c) | 1714 | GMC_init (const struct GNUNET_CONFIGURATION_Handle *c) |
1715 | { | 1715 | { |
1716 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); | ||
1716 | if (GNUNET_OK != | 1717 | if (GNUNET_OK != |
1717 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "MAX_MSGS_QUEUE", | 1718 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "MAX_MSGS_QUEUE", |
1718 | &max_msgs_queue)) | 1719 | &max_msgs_queue)) |
diff --git a/src/mesh/gnunet-service-mesh_dht.c b/src/mesh/gnunet-service-mesh_dht.c index baf9d9375..b8b2f4cd3 100644 --- a/src/mesh/gnunet-service-mesh_dht.c +++ b/src/mesh/gnunet-service-mesh_dht.c | |||
@@ -275,7 +275,7 @@ announce_id (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
275 | void | 275 | void |
276 | GMD_init (const struct GNUNET_CONFIGURATION_Handle *c) | 276 | GMD_init (const struct GNUNET_CONFIGURATION_Handle *c) |
277 | { | 277 | { |
278 | 278 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); | |
279 | if (GNUNET_OK != | 279 | if (GNUNET_OK != |
280 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "DHT_REPLICATION_LEVEL", | 280 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "DHT_REPLICATION_LEVEL", |
281 | &dht_replication_level)) | 281 | &dht_replication_level)) |
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 0fe98f448..b3c560034 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -725,6 +725,7 @@ static struct GNUNET_SERVER_MessageHandler client_handlers[] = { | |||
725 | void | 725 | void |
726 | GML_init (struct GNUNET_SERVER_Handle *handle) | 726 | GML_init (struct GNUNET_SERVER_Handle *handle) |
727 | { | 727 | { |
728 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); | ||
728 | server_handle = handle; | 729 | server_handle = handle; |
729 | GNUNET_SERVER_suspend (server_handle); | 730 | GNUNET_SERVER_suspend (server_handle); |
730 | ports = GNUNET_CONTAINER_multihashmap32_create (32); | 731 | ports = GNUNET_CONTAINER_multihashmap32_create (32); |
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c index 75c34c55a..0127615c1 100644 --- a/src/mesh/gnunet-service-mesh_peer.c +++ b/src/mesh/gnunet-service-mesh_peer.c | |||
@@ -1164,6 +1164,7 @@ GMP_queue_unlock (struct MeshPeer *peer, struct MeshConnection *c) | |||
1164 | void | 1164 | void |
1165 | GMP_init (const struct GNUNET_CONFIGURATION_Handle *c) | 1165 | GMP_init (const struct GNUNET_CONFIGURATION_Handle *c) |
1166 | { | 1166 | { |
1167 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); | ||
1167 | peers = GNUNET_CONTAINER_multipeermap_create (128, GNUNET_NO); | 1168 | peers = GNUNET_CONTAINER_multipeermap_create (128, GNUNET_NO); |
1168 | if (GNUNET_OK != | 1169 | if (GNUNET_OK != |
1169 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "MAX_PEERS", | 1170 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "MAX_PEERS", |
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index 01f581c27..a4a54b77c 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -620,6 +620,7 @@ void | |||
620 | GMT_init (const struct GNUNET_CONFIGURATION_Handle *c, | 620 | GMT_init (const struct GNUNET_CONFIGURATION_Handle *c, |
621 | const struct GNUNET_CRYPTO_EddsaPrivateKey *key) | 621 | const struct GNUNET_CRYPTO_EddsaPrivateKey *key) |
622 | { | 622 | { |
623 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); | ||
623 | if (GNUNET_OK != | 624 | if (GNUNET_OK != |
624 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "DEFAULT_TTL", | 625 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "DEFAULT_TTL", |
625 | &default_ttl)) | 626 | &default_ttl)) |