mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Fix missing )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user