diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-31 15:53:16 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-31 15:53:16 +0000 |
commit | 092b8c5bb7d15712d7cd829a9370b117e3aa30ee (patch) | |
tree | aba85a6f8782ecb60ae89b4b1798e1fe149e010d /res/res_speech.c | |
parent | ac97f6a9c6de9848e7efa5f3ce7e6eb59b51016f (diff) |
Make it the engine's responsible to check for the presence of results.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81406 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_speech.c')
-rw-r--r-- | res/res_speech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_speech.c b/res/res_speech.c index bab784f16..5baca9679 100644 --- a/res/res_speech.c +++ b/res/res_speech.c @@ -120,7 +120,7 @@ struct ast_speech_result *ast_speech_results_get(struct ast_speech *speech) { struct ast_speech_result *result = NULL; - if (speech->engine->get != NULL && ast_test_flag(speech, AST_SPEECH_HAVE_RESULTS)) { + if (speech->engine->get != NULL) { result = speech->engine->get(speech); } |