diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-08-11 04:13:28 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-08-14 22:56:45 -0500 |
commit | d4687e9529429e621eebc4f00193f1572161b8c9 (patch) | |
tree | 7f9bb6546ee68f4fb0212bb133b1ddaefe6e3ceb /src/stkagent.c | |
parent | 0d205a5ef16247641a56eacbecfe39606f6e5d4a (diff) | |
download | ofono-d4687e9529429e621eebc4f00193f1572161b8c9.tar.gz |
stkagent: Use infinite timeouts
for DisplayActionInformation and DisplayAction
Diffstat (limited to 'src/stkagent.c')
-rw-r--r-- | src/stkagent.c | 6 |
1 files 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; |