mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-29 23:00:11 +01:00
Use DBUS_TIMEOUT_INFINITE in dbus-daemon.c
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
This commit is contained in:
parent
719ada0e22
commit
6ace0a5cbd
1 changed files with 3 additions and 2 deletions
|
|
@ -253,8 +253,9 @@ test_echo (Fixture *f,
|
|||
if (m == NULL)
|
||||
g_error ("OOM");
|
||||
|
||||
if (!dbus_connection_send_with_reply (f->left_conn, m, &pc, 0x7FFFFFFF)
|
||||
|| pc == NULL)
|
||||
if (!dbus_connection_send_with_reply (f->left_conn, m, &pc,
|
||||
DBUS_TIMEOUT_INFINITE) ||
|
||||
pc == NULL)
|
||||
g_error ("OOM");
|
||||
|
||||
if (dbus_pending_call_get_completed (pc))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue