chiark / gitweb /
Use bus_maybe_send_reply() where applicable
[elogind.git] / src / timedate / timedated.c
index 77534933c33b3aa50c3bfa0838e429803da0874d..85506f4fc67d57f599030bb31592ac0c222ea9f7 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);