service: Fix two small style issues
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 5 Mar 2012 04:45:33 +0000 (20:45 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 5 Mar 2012 04:45:33 +0000 (20:45 -0800)
src/service.c

index d301b2f..7787636 100644 (file)
@@ -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) {