diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-05-02 16:46:07 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-04 11:09:33 +0300 |
commit | 81bd485cabb6068839f33411b59e17726ee16121 (patch) | |
tree | a5fa720d5b9aedff456724fc096da4fda16cb193 /src | |
parent | 4bf3d238249265c2009f535c40050d9a33bde226 (diff) | |
download | connman-81bd485cabb6068839f33411b59e17726ee16121.tar.gz connman-81bd485cabb6068839f33411b59e17726ee16121.tar.bz2 connman-81bd485cabb6068839f33411b59e17726ee16121.zip |
wispr: Adding some useful debug outputs
Diffstat (limited to 'src')
-rw-r--r-- | src/wispr.c | 3 |
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; } |