projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf3d23
)
wispr: Adding some useful debug outputs
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Wed, 2 May 2012 13:46:07 +0000
(16:46 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 4 May 2012 08:09:33 +0000
(11:09 +0300)
src/wispr.c
patch
|
blob
|
history
diff --git
a/src/wispr.c
b/src/wispr.c
index
0815330
..
b56a649
100644
(file)
--- 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;
}