]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make it the engine's responsible to check for the presence of results.
authorJoshua Colp <jcolp@digium.com>
Fri, 31 Aug 2007 15:53:16 +0000 (15:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 31 Aug 2007 15:53:16 +0000 (15:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81406 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_speech.c

index bab784f161164372fee4d8fad907649c60e425f0..5baca967957c88fad6c9fe6855bee13a861ff5f9 100644 (file)
@@ -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);
        }