diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
commit | fd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch) | |
tree | 42d2a87726d196f4db1c68489007520a4c597062 /apps/app_speech_utils.c | |
parent | 9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff) |
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r-- | apps/app_speech_utils.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 3a6a191e3..339c3161f 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -107,7 +107,7 @@ and ${SPEECH_SCORE(1)}.</para> <para>The first argument is the sound file and the second is the timeout integer in seconds.</para> <para>Hangs up the channel on failure. If this is not desired, use TryExec.</para> - + </description> </application> <application name="SpeechDeactivateGrammar" language="en_US"> @@ -369,9 +369,9 @@ static int speech_score(struct ast_channel *chan, const char *cmd, char *data, if (data == NULL || speech == NULL || !(result = find_result(speech->results, data))) { return -1; } - + snprintf(tmp, sizeof(tmp), "%d", result->score); - + ast_copy_string(buf, tmp, len); return 0; @@ -679,10 +679,10 @@ static int speech_streamfile(struct ast_channel *chan, const char *filename, con if (!(fs = ast_openstream(chan, filename, preflang))) return -1; - + if (ast_applystream(chan, fs)) return -1; - + ast_playstream(fs); return 0; @@ -754,7 +754,7 @@ static int speech_background(struct ast_channel *chan, const char *data) if ((tmp2 = pbx_builtin_getvar_helper(chan, "SPEECH_DTMF_MAXLEN")) && !ast_strlen_zero(tmp2)) { max_dtmf_len = atoi(tmp2); } - + /* See if a terminator is specified */ if ((tmp2 = pbx_builtin_getvar_helper(chan, "SPEECH_DTMF_TERMINATOR"))) { if (ast_strlen_zero(tmp2)) @@ -973,7 +973,7 @@ static int unload_module(void) res |= ast_custom_function_unregister(&speech_engine_function); res |= ast_custom_function_unregister(&speech_results_type_function); - return res; + return res; } static int load_module(void) |