From bf0b4d74da5161068ad7dc7b72169a10a3a94008 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 10 Jun 2011 17:41:04 +0100 Subject: [PATCH 2/2] Use DBUS_TIMEOUT_INFINITE in dbus-daemon.c --- 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 d2d5246..27babd8 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -258,8 +258,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)) -- 1.7.5.3