Kaydet (Commit) 82a04a82 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No DBUS_TIMEOUT_INFINITE before D-Bus 1.4.12

Change-Id: Ie53359fb2b6a73fa3611e56314ae2df00457adc0
üst 2ef9d5de
......@@ -533,8 +533,7 @@ RequestHandler::Status DbusIpcThread::enable(rtl::Reference<IpcThread> * thread)
}
DbusMessageHolder repl(
dbus_connection_send_with_reply_and_block(
con.connection, msg.message, DBUS_TIMEOUT_INFINITE,
&e));
con.connection, msg.message, 0x7FFFFFFF, &e));
assert(
(repl.message == nullptr) == bool(dbus_error_is_set(&e)));
if (repl.message == nullptr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment