From: Patrik Flykt <[email protected]>
Update also the calling code to handle the change.
---
src/agent.c | 4 ++--
src/wispr.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/agent.c b/src/agent.c
index a9c2a33..0aadb21 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -546,7 +546,7 @@ int __connman_agent_request_login_input(struct
connman_service *service,
dbus_message_unref(message);
- return -EIO;
+ return -EINPROGRESS;
}
struct request_browser_reply_data {
@@ -634,7 +634,7 @@ int __connman_agent_request_browser(struct connman_service
*service,
dbus_message_unref(message);
- return -EIO;
+ return -EINPROGRESS;
}
struct report_error_data {
diff --git a/src/wispr.c b/src/wispr.c
index e5796d7..9412f1e 100644
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -610,7 +610,7 @@ static gboolean wispr_manage_message(GWebResult *result,
if (__connman_agent_request_login_input(wp_context->service,
wispr_portal_request_wispr_login,
- wp_context) != -EIO)
+ wp_context) != -EINPROGRESS)
wispr_portal_error(wp_context);
break;
--
1.7.10
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman