From 092b8c5bb7d15712d7cd829a9370b117e3aa30ee Mon Sep 17 00:00:00 2001 From: file Date: Fri, 31 Aug 2007 15:53:16 +0000 Subject: 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 --- res/res_speech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res') 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); } -- cgit v1.2.3