This v2 fixes indentation issue.
---
plugins/connman.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/plugins/connman.c b/plugins/connman.c
index 3a3429f..bb29cd5 100644
--- a/plugins/connman.c
+++ b/plugins/connman.c
@@ -119,7 +119,7 @@ static gboolean parse_reply(DBusMessage *reply, const char
**path,
if (dbus_message_iter_get_arg_type(&array) != DBUS_TYPE_OBJECT_PATH)
return FALSE;
- dbus_message_iter_get_basic(&array, &path);
+ dbus_message_iter_get_basic(&array, path);
dbus_message_iter_next(&array);
if (dbus_message_iter_get_arg_type(&array) != DBUS_TYPE_ARRAY)
@@ -186,8 +186,7 @@ static void request_reply(DBusPendingCall *call, void
*user_data)
if (reply == NULL)
goto badreply;
- if (parse_reply(dbus_pending_call_steal_reply(call),
- &path, &pns) == FALSE)
+ if (parse_reply(reply, &path, &pns) == FALSE)
goto error;
DBG("fd: %d, path: %s", pns.fd, path);
--
1.7.1
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono