summaryrefslogtreecommitdiff
path: root/src/wispr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wispr.c')
-rwxr-xr-xsrc/wispr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wispr.c b/src/wispr.c
index c3b0c9c9..adf62303 100755
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -832,8 +832,8 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context)
int err = 0;
int i;
- DBG("wispr/portal context %p", wp_context);
- DBG("service %p", wp_context->service);
+ DBG("wispr/portal context %p service %p", wp_context,
+ wp_context->service);
service_type = connman_service_get_type(wp_context->service);
@@ -908,8 +908,7 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context)
free_connman_wispr_portal_context(wp_context);
}
} else if (wp_context->timeout == 0) {
- wp_context->timeout =
- g_timeout_add_seconds(0, no_proxy_callback, wp_context);
+ wp_context->timeout = g_idle_add(no_proxy_callback, wp_context);
}
done: