Skip to content
Snippets Groups Projects
Commit 62cf9a21 authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix missing )

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f885e0a6
Branches
Tags
No related merge requests found
...@@ -122,7 +122,7 @@ static int waitforsilence_exec(struct ast_channel *chan, void *data) ...@@ -122,7 +122,7 @@ static int waitforsilence_exec(struct ast_channel *chan, void *data)
res = ast_answer(chan); /* Answer the channel */ res = ast_answer(chan); /* Answer the channel */
if (!data || ((sscanf(data, "%d|%d", &duration, &iterations) != 2) && 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"); ast_log(LOG_WARNING, "Using default value of 1000ms, 1 iteration\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment