chiark / gitweb /
logind: when parsing a boolean via sd-bus the type must be "int"
authorLennart Poettering <lennart@poettering.net>
Fri, 4 Sep 2015 08:35:46 +0000 (10:35 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:19:06 +0000 (10:19 +0100)
And not bool.

src/login/logind-dbus.c

index 0dfc96c..cdb3007 100644 (file)
@@ -2275,7 +2275,7 @@ static int method_set_wall_message(
         int r;
         Manager *m = userdata;
         char *wall_message;
-        bool enable_wall_messages;
+        int enable_wall_messages;
 
         assert(message);
         assert(m);