aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-08 23:28:42 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-08 23:28:42 +0000
commitbaa888169723d639c4667756422242f3581c224a (patch)
tree70b2d5debc1d9eca2a1e340648611ec9235fdc59 /src
parenta983a0267109b1b6a8e16e476e2f2956a8771b94 (diff)
downloadgnunet-baa888169723d639c4667756422242f3581c224a.tar.gz
gnunet-baa888169723d639c4667756422242f3581c224a.zip
Added logging, fixed doxygen
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 8524e62ed..fc022a0a0 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -80,7 +80,7 @@ test_address (void *cls,
80 * Receive the HELLO from one peer, give it to the other 80 * Receive the HELLO from one peer, give it to the other
81 * and ask them to connect. 81 * and ask them to connect.
82 * 82 *
83 * @param cls "struct ConnectContext" 83 * @param cls Closure (daemon whose hello is this).
84 * @param message HELLO message of peer 84 * @param message HELLO message of peer
85 */ 85 */
86static void 86static void
@@ -98,9 +98,9 @@ process_hello (void *cls, const struct GNUNET_MessageHeader *message)
98 GNUNET_NO, &test_address, &empty); 98 GNUNET_NO, &test_address, &empty);
99 if (GNUNET_YES == empty) 99 if (GNUNET_YES == empty)
100 { 100 {
101#if DEBUG_TESTING 101 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
102 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Skipping empty HELLO address\n"); 102 "Skipping empty HELLO address of peer %s\n",
103#endif 103 GNUNET_i2s (&daemon->id));
104 return; 104 return;
105 } 105 }
106#endif 106#endif