aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_delegated_lookup.c
diff options
context:
space:
mode:
authorschanzen <schanzen@140774ce-b5e7-0310-ab8b-a85725594a96>2012-03-03 15:10:02 +0000
committerschanzen <schanzen@140774ce-b5e7-0310-ab8b-a85725594a96>2012-03-03 15:10:02 +0000
commit3c36550068766388c6c3e90f7e6b9bf87a11dfcb (patch)
tree91cfb80f8e84e068abc7244fac8032bc5575f978 /src/gns/test_gns_simple_delegated_lookup.c
parent4f3d2f7ca6d7ff547fc6ad3fd70d6b3ca0f02c9e (diff)
-fixes
git-svn-id: https://gnunet.org/svn/gnunet@20227 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/gns/test_gns_simple_delegated_lookup.c')
-rw-r--r--src/gns/test_gns_simple_delegated_lookup.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c
index 98ca34989c..e4383fe4c2 100644
--- a/src/gns/test_gns_simple_delegated_lookup.c
+++ b/src/gns/test_gns_simple_delegated_lookup.c
@@ -90,6 +90,7 @@ shutdown_callback (void *cls, const char *emsg)
{
if (emsg != NULL)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown! ret=%d\n", ok);
if (ok == 0)
ok = 2;
}
@@ -114,6 +115,8 @@ finish_testing (void *cls, int32_t success, const char *emsg)
if (!he)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "gethostbyname failed, rp_filtering?\n");
ok = 2;
}
else
@@ -133,7 +136,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");
}
}
}
@@ -164,7 +167,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;