summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-07-31 18:56:55 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-07-31 18:56:55 +0200
commit2a2bdca0dd643b88a538b9b0f37c85ea79df1ddd (patch)
treebf68a164a4a9dc627eb7389d86711958426bb028 /src
parent8673275df8551a378fddfa570ace148eb340cf07 (diff)
define KEYCODE_REL for key release
Diffstat (limited to 'src')
-rw-r--r--src/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/call.c b/src/call.c
index e0fec6b..880a7d0 100644
--- a/src/call.c
+++ b/src/call.c
@@ -379,7 +379,7 @@ static void audio_event_handler(int key, bool end, void *arg)
info("received event: '%c' (end=%d)\n", key, end);
if (call->dtmfh)
- call->dtmfh(call, end ? 0x00 : key, call->arg);
+ call->dtmfh(call, end ? KEYCODE_REL : key, call->arg);
}