From 37f9068fd9b273e2e245430a4b756c5f90a8d421 Mon Sep 17 00:00:00 2001 From: David Reveman Date: Tue, 26 Aug 2008 17:36:38 -0400 Subject: [PATCH] Use 10 minute timeout instead of default. --- hw/dmx/examples/dmxconnect.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/dmx/examples/dmxconnect.c b/hw/dmx/examples/dmxconnect.c index af081c268..d3b9fd587 100644 --- a/hw/dmx/examples/dmxconnect.c +++ b/hw/dmx/examples/dmxconnect.c @@ -541,6 +541,7 @@ main (int argc, char **argv) char dest[256]; char path[256]; uint32_t index; + int timeout = 600000; /* 10 minutes */ for (i = 1; i < argc; i++) { @@ -762,7 +763,7 @@ main (int argc, char **argv) reply = dbus_connection_send_with_reply_and_block (conn, message, - -1, + timeout, &err); dbus_message_unref (message); @@ -840,7 +841,7 @@ main (int argc, char **argv) reply = dbus_connection_send_with_reply_and_block (conn, message, - -1, + timeout, &err); dbus_message_unref (message);