summaryrefslogtreecommitdiff
path: root/tests/lacwget.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lacwget.c')
-rw-r--r--tests/lacwget.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/lacwget.c b/tests/lacwget.c
index f1eabbf..c7245ef 100644
--- a/tests/lacwget.c
+++ b/tests/lacwget.c
@@ -450,8 +450,11 @@ http_callback (LacHttpRequest *request, const LacHttpEvent *event)
switch (event->type)
{
case LAC_HTTP_EVENT_HOST_FOUND:
- g_print ("%s: dns lookup complete at %f\n", page_info->main_uri,
- g_timer_elapsed (total, NULL));
+ g_print ("%s: dns lookup complete at %f (%s: %s)\n",
+ page_info->main_uri,
+ g_timer_elapsed (total, NULL),
+ event->host_found.hostname,
+ lac_address_to_string (event->host_found.address));
break;
case LAC_HTTP_EVENT_SENT: