summaryrefslogtreecommitdiff
path: root/src/wispr.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-04-27 17:33:15 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-04-27 16:45:01 +0200
commit39d675b3ff57daa893239afff879757eb692122e (patch)
tree1b5fbdae9a85f5848b353438c7ade5068023e921 /src/wispr.c
parentf0df3a569fa7f642a35b97ef0cc3b00247541dad (diff)
downloadconnman-39d675b3ff57daa893239afff879757eb692122e.tar.gz
connman-39d675b3ff57daa893239afff879757eb692122e.tar.bz2
connman-39d675b3ff57daa893239afff879757eb692122e.zip
wispr: Update g_web_request_get()
Diffstat (limited to 'src/wispr.c')
-rw-r--r--src/wispr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wispr.c b/src/wispr.c
index bea7a1ed..299754e5 100644
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -395,7 +395,8 @@ static void wispr_portal_request_portal(struct connman_wispr_portal_context *wp_
wp_context->request_id = g_web_request_get(wp_context->web,
wp_context->status_url,
- wispr_portal_web_result, wp_context);
+ wispr_portal_web_result, NULL,
+ wp_context);
if (wp_context->request_id == 0)
wispr_portal_error(wp_context);
@@ -606,7 +607,8 @@ static gboolean wispr_portal_web_result(GWebResult *result, gpointer user_data)
wp_context->redirect_url = g_strdup(redirect);
wp_context->request_id = g_web_request_get(wp_context->web,
- redirect, wispr_portal_web_result, wp_context);
+ redirect, wispr_portal_web_result, NULL,
+ wp_context);
goto done;
case 404: