From: Martin Schanzenbach Date: Sat, 3 Mar 2012 12:42:23 +0000 (+0000) Subject: -visible error log X-Git-Tag: initial-import-from-subversion-38251~14476 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9689aead6320596ebbc8b268aaf1fe5aaaa0f7bf;p=oweals%2Fgnunet.git -visible error log --- 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;