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);