]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
userdbd: realign table
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Dec 2023 17:19:20 +0000 (18:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Dec 2023 17:19:20 +0000 (18:19 +0100)
src/userdb/userwork.c

index e9b0ac20e0e7e01d0a6ab7a225be1cccb322f1b9..b5b76c51e192b307da8ddb681719932d8b4b2fd0 100644 (file)
@@ -353,9 +353,9 @@ static int vl_method_get_group_record(Varlink *link, JsonVariant *parameters, Va
 
 static int vl_method_get_memberships(Varlink *link, JsonVariant *parameters, VarlinkMethodFlags flags, void *userdata) {
         static const JsonDispatch dispatch_table[] = {
-                { "userName",  JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, user_name), 0 },
+                { "userName",  JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, user_name),  0 },
                 { "groupName", JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, group_name), 0 },
-                { "service",   JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service),   0 },
+                { "service",   JSON_VARIANT_STRING, json_dispatch_const_string, offsetof(LookupParameters, service),    0 },
                 {}
         };