From a026dc5f437e3c32f21a16ab69f93c19a02a6c4b Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Fri, 31 Aug 2007 15:53:16 +0000 Subject: [PATCH] Make it the engine's responsible to check for the presence of results. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81406 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_speech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_speech.c b/res/res_speech.c index bab784f161..5baca96795 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); }