diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-15 16:17:25 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-15 16:17:25 +0000 |
commit | 745f5b00bd774fc723b644ccbea4284f5ac00771 (patch) | |
tree | 5bc601c6d1d28f382a205b7f8f194e8961cbb343 /src/testbed/testbed_api_topology.c | |
parent | 8c9b697446f94456708796b73f27c235d50de23f (diff) | |
download | gnunet-745f5b00bd774fc723b644ccbea4284f5ac00771.tar.gz gnunet-745f5b00bd774fc723b644ccbea4284f5ac00771.zip |
logging and fixes
Diffstat (limited to 'src/testbed/testbed_api_topology.c')
-rw-r--r-- | src/testbed/testbed_api_topology.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c index 47438ea3d..22e9207f3 100644 --- a/src/testbed/testbed_api_topology.c +++ b/src/testbed/testbed_api_topology.c | |||
@@ -29,6 +29,11 @@ | |||
29 | #include "testbed_api_peers.h" | 29 | #include "testbed_api_peers.h" |
30 | #include "testbed_api_operations.h" | 30 | #include "testbed_api_operations.h" |
31 | 31 | ||
32 | /** | ||
33 | * Generic loggins shorthand | ||
34 | */ | ||
35 | #define LOG(kind,...) \ | ||
36 | GNUNET_log_from (kind, "testbed-api-topology", __VA_ARGS__) | ||
32 | 37 | ||
33 | /** | 38 | /** |
34 | * Representation of an overlay link | 39 | * Representation of an overlay link |
@@ -103,8 +108,8 @@ overlay_link_completed (void *cls, | |||
103 | *link_op = NULL; | 108 | *link_op = NULL; |
104 | if (NULL != emsg) | 109 | if (NULL != emsg) |
105 | { | 110 | { |
106 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 111 | LOG (GNUNET_ERROR_TYPE_WARNING, |
107 | "Error while establishing a link: %s\n", emsg); | 112 | "Error while establishing a link: %s\n", emsg); |
108 | return; | 113 | return; |
109 | } | 114 | } |
110 | } | 115 | } |