projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719ada0
)
Use DBUS_TIMEOUT_INFINITE in dbus-daemon.c
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 16:41:04 +0000
(17:41 +0100)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 17:33:20 +0000
(18:33 +0100)
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
test/dbus-daemon.c
patch
|
blob
|
history
diff --git
a/test/dbus-daemon.c
b/test/dbus-daemon.c
index
41eddc6
..
c5c19f0
100644
(file)
--- 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))