aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-03 12:42:23 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-03 12:42:23 +0000
commit9689aead6320596ebbc8b268aaf1fe5aaaa0f7bf (patch)
tree218f179dbff681641cbb1634e421c67529a3ec9c /src/gns
parent149cdcbea9792b31d1430ee68dd5c4984b216734 (diff)
downloadgnunet-9689aead6320596ebbc8b268aaf1fe5aaaa0f7bf.tar.gz
gnunet-9689aead6320596ebbc8b268aaf1fe5aaaa0f7bf.zip
-visible error log
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/test_gns_simple_lookup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c
index 28372d6b8..20ef8eac4 100644
--- a/src/gns/test_gns_simple_lookup.c
+++ b/src/gns/test_gns_simple_lookup.c
@@ -87,6 +87,7 @@ shutdown_callback (void *cls, const char *emsg)
87{ 87{
88 if (emsg != NULL) 88 if (emsg != NULL)
89 { 89 {
90 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown!\n", ok);
90 if (ok == 0) 91 if (ok == 0)
91 ok = 2; 92 ok = 2;
92 } 93 }
@@ -130,7 +131,7 @@ finish_testing (void *cls, int32_t success, const char *emsg)
130 } 131 }
131 else 132 else
132 { 133 {
133 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n"); 134 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n");
134 } 135 }
135 } 136 }
136 } 137 }
@@ -161,7 +162,7 @@ end_badly_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
161static void 162static void
162end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 163end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
163{ 164{
164 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Failing test with error: `%s'!\n", 165 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failing test with error: `%s'!\n",
165 (char *) cls); 166 (char *) cls);
166 GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL); 167 GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL);
167 ok = 1; 168 ok = 1;