summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-03-04 20:45:33 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-03-04 20:45:33 -0800
commit956cc0ebe4ff3c63e0036475dd2c20720ffb2448 (patch)
tree62aa83ca87be03f1d7e6f088b389fa514dcc194e
parenta4990946d6ae42a4f66439acca63668c61690990 (diff)
downloadconnman-956cc0ebe4ff3c63e0036475dd2c20720ffb2448.tar.gz
connman-956cc0ebe4ff3c63e0036475dd2c20720ffb2448.tar.bz2
connman-956cc0ebe4ff3c63e0036475dd2c20720ffb2448.zip
service: Fix two small style issues
-rw-r--r--src/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index d301b2fd..77876365 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2417,11 +2417,11 @@ static int update_proxy_configuration(struct connman_service *service,
dbus_message_iter_get_basic(&entry, &key);
dbus_message_iter_next(&entry);
- if (dbus_message_iter_get_arg_type(&entry) !=
- DBUS_TYPE_VARIANT)
+ if (dbus_message_iter_get_arg_type(&entry) != DBUS_TYPE_VARIANT)
goto error;
dbus_message_iter_recurse(&entry, &variant);
+
type = dbus_message_iter_get_arg_type(&variant);
if (g_str_equal(key, "Method") == TRUE) {