diff options
Diffstat (limited to 'apps/app_alarmreceiver.c')
-rw-r--r-- | apps/app_alarmreceiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_alarmreceiver.c b/apps/app_alarmreceiver.c index 20171e023..44782f0c7 100644 --- a/apps/app_alarmreceiver.c +++ b/apps/app_alarmreceiver.c @@ -251,7 +251,7 @@ static int receive_dtmf_digits(struct ast_channel *chan, char *digit_string, int break; } - if ((r = ast_waitfor(chan, -1) < 0)) { + if ((r = ast_waitfor(chan, -1)) < 0) { ast_debug(1, "Waitfor returned %d\n", r); continue; } |