summaryrefslogtreecommitdiff
path: root/src/wispr.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-05-02 16:46:07 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-04 11:09:33 +0300
commit81bd485cabb6068839f33411b59e17726ee16121 (patch)
treea5fa720d5b9aedff456724fc096da4fda16cb193 /src/wispr.c
parent4bf3d238249265c2009f535c40050d9a33bde226 (diff)
downloadconnman-81bd485cabb6068839f33411b59e17726ee16121.tar.gz
connman-81bd485cabb6068839f33411b59e17726ee16121.tar.bz2
connman-81bd485cabb6068839f33411b59e17726ee16121.zip
wispr: Adding some useful debug outputs
Diffstat (limited to 'src/wispr.c')
-rw-r--r--src/wispr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wispr.c b/src/wispr.c
index 08153301..b56a6490 100644
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -790,18 +790,21 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context)
if_index = connman_inet_ifindex(interface);
if (if_index < 0) {
+ DBG("Could not get ifindex");
err = -EINVAL;
goto done;
}
nameservers = connman_service_get_nameservers(wp_context->service);
if (nameservers == NULL) {
+ DBG("Could not get nameservers");
err = -EINVAL;
goto done;
}
wp_context->web = g_web_new(if_index);
if (wp_context->web == NULL) {
+ DBG("Could not set up GWeb");
err = -ENOMEM;
goto done;
}