diff options
author | Mark Spencer <markster@digium.com> | 2004-11-25 18:52:16 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-11-25 18:52:16 +0000 |
commit | 62cf9a21eab163569b0b88a8f80d7d6936c7b70a (patch) | |
tree | 8f730ee1fa453bbf9108fde1f56451ffc5e5c078 /apps/app_waitforsilence.c | |
parent | f885e0a6cdacf593ef439e2dc2ec39a6a97f0b3e (diff) |
Fix missing )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_waitforsilence.c')
-rwxr-xr-x | apps/app_waitforsilence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_waitforsilence.c b/apps/app_waitforsilence.c index b29286a36..66ce40103 100755 --- a/apps/app_waitforsilence.c +++ b/apps/app_waitforsilence.c @@ -122,7 +122,7 @@ static int waitforsilence_exec(struct ast_channel *chan, void *data) res = ast_answer(chan); /* Answer the channel */ if (!data || ((sscanf(data, "%d|%d", &duration, &iterations) != 2) && - (sscanf(data, "%d", &duration != 1)))) { + (sscanf(data, "%d", &duration) != 1))) { ast_log(LOG_WARNING, "Using default value of 1000ms, 1 iteration\n"); } |