diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-10 17:41:04 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-10 18:33:20 +0100 |
commit | 6ace0a5cbdec5427f97fb3e4f400f23f176f5f9f (patch) | |
tree | d12595f68ba271cc58889b5c3f9b929a813fa272 | |
parent | 719ada0e226eca87bbf6f01194e789d03ae602fd (diff) |
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
-rw-r--r-- | test/dbus-daemon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index 41eddc60..c5c19f0c 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -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)) |