diff options
Diffstat (limited to 'audio/telephony-maemo.c')
-rw-r--r-- | audio/telephony-maemo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 2a4b6502..34a98584 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -617,7 +617,7 @@ void telephony_call_hold_req(void *telephony_device, const char *cmd) idx = NULL; if (idx) - call = g_slist_nth_data(calls, strtol(idx, NULL, 0)); + call = g_slist_nth_data(calls, strtol(idx, NULL, 0) - 1); switch (cmd[0]) { case '0': |