mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user