From 9689aead6320596ebbc8b268aaf1fe5aaaa0f7bf Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Sat, 3 Mar 2012 12:42:23 +0000 Subject: -visible error log --- src/gns/test_gns_simple_lookup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gns/test_gns_simple_lookup.c') 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) { if (emsg != NULL) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown!\n", ok); if (ok == 0) ok = 2; } @@ -130,7 +131,7 @@ finish_testing (void *cls, int32_t success, const char *emsg) } else { - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n"); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n"); } } } @@ -161,7 +162,7 @@ end_badly_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) static void end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Failing test with error: `%s'!\n", + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failing test with error: `%s'!\n", (char *) cls); GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL); ok = 1; -- cgit v1.2.3