summaryrefslogtreecommitdiff
path: root/test/call.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-07-31 22:17:47 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-07-31 22:17:47 +0200
commit26c176c839a749a8ca2b9530909248a64ef429aa (patch)
tree541d37c3d115d8b362c0f8d4f78d1f058bb94dbd /test/call.c
parent54fb1f3810de177531353af3af58a7ea3de0ca9a (diff)
use KEYCODE_REL instead of 0x00
Diffstat (limited to 'test/call.c')
-rw-r--r--test/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/call.c b/test/call.c
index cf17bb0..75d8c9f 100644
--- a/test/call.c
+++ b/test/call.c
@@ -598,7 +598,7 @@ static void dtmf_handler(struct call *call, char key, void *arg)
(void)call;
/* ignore key-release */
- if (key == 0)
+ if (key == KEYCODE_REL)
return;
ASSERT_EQ(dtmf_digits[ag->n_dtmf_recv], key);