chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use bus_maybe_send_reply() where applicable
[elogind.git]
/
src
/
core
/
dbus.c
diff --git
a/src/core/dbus.c
b/src/core/dbus.c
index 08aff1fd2b03a64a92e8cac3028b1f58baedca4b..236ebc99d99804c5f1d7028c6dd31bf49403236d 100644
(file)
--- a/
src/core/dbus.c
+++ b/
src/core/dbus.c
@@
-406,7
+406,7
@@
static DBusHandlerResult api_bus_message_filter(DBusConnection *connection, DBus
dbus_error_free(&error);
if (reply) {
- if (!
dbus_connection_send(connection, reply, NULL
))
+ if (!
bus_maybe_send_reply(connection, message, reply
))
goto oom;
dbus_message_unref(reply);