chiark / gitweb /
Use bus_maybe_send_reply() where applicable
[elogind.git] / src / timedate / timedated.c
index 7753493..85506f4 100644 (file)
@@ -889,7 +889,7 @@ static DBusHandlerResult timedate_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);