From d4687e9529429e621eebc4f00193f1572161b8c9 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 11 Aug 2011 04:13:28 -0500 Subject: [PATCH] stkagent: Use infinite timeouts for DisplayActionInformation and DisplayAction --- src/stkagent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stkagent.c b/src/stkagent.c index 1a4bdd84..e92c8851 100644 --- a/src/stkagent.c +++ b/src/stkagent.c @@ -1005,7 +1005,7 @@ int stk_agent_display_action_info(struct stk_agent *agent, const char *text, DBUS_TYPE_INVALID); if (dbus_connection_send_with_reply(conn, agent->msg, &agent->call, - 0) == FALSE || + DBUS_TIMEOUT_INFINITE) == FALSE || agent->call == NULL) return -EIO; @@ -1132,8 +1132,8 @@ int stk_agent_display_action(struct stk_agent *agent, DBUS_TYPE_INVALID); if (dbus_connection_send_with_reply(conn, agent->msg, &agent->call, - 0) == FALSE || - agent->call == NULL) + DBUS_TIMEOUT_INFINITE) == FALSE || + agent->call == NULL) return -EIO; agent->user_cb = cb;