Use 10 minute timeout instead of default.

This commit is contained in:
David Reveman 2008-08-26 17:36:38 -04:00
parent 09ca916772
commit 37f9068fd9

View file

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