summaryrefslogtreecommitdiffstats
path: root/src/locale
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-03-18 19:38:24 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-19 00:59:32 +0100
commitc6a818c82035da91e7987920510f0dda61d8781a (patch)
treeaca8572ad6fdd72b93b47b8b3ee6ca584a948efa /src/locale
parentsd-journal: do not require path to be absolute (diff)
downloadsystemd-c6a818c82035da91e7987920510f0dda61d8781a.tar.xz
systemd-c6a818c82035da91e7987920510f0dda61d8781a.zip
Use bus_maybe_send_reply() where applicable
This is a followup to: commit 1a37b9b9043ef83e9900e460a9a1fccced3acf89 It will fix denial messages from dbus-daemon between gdm and systemd-logind on logging into GNOME due to this. See the previous commit for more details.
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 4f85b8b583..60083b7681 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -1277,7 +1277,7 @@ static DBusHandlerResult locale_message_handler(
if (!(reply = dbus_message_new_method_return(message)))
goto oom;
- if (!dbus_connection_send(connection, reply, NULL))
+ if (!bus_maybe_send_reply(connection, message, reply))
goto oom;
dbus_message_unref(reply);