summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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);