From f76bd3c7e76daaf63f747625e9cfbd6fc0fdd44a Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 25 Nov 2004 18:52:16 +0000 Subject: Fix missing ) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4346 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_waitforsilence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_waitforsilence.c') 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"); } -- cgit v1.2.3