mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Merged revisions 81406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81406 | file | 2007-08-31 12:53:16 -0300 (Fri, 31 Aug 2007) | 2 lines Make it the engine's responsible to check for the presence of results. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -92,7 +92,7 @@ int ast_speech_grammar_unload(struct ast_speech *speech, char *grammar_name)
|
||||
/*! \brief Return the results of a recognition from the speech structure */
|
||||
struct ast_speech_result *ast_speech_results_get(struct ast_speech *speech)
|
||||
{
|
||||
return ((speech->engine->get && ast_test_flag(speech, AST_SPEECH_HAVE_RESULTS)) ? speech->engine->get(speech) : NULL);
|
||||
return (speech->engine->get ? speech->engine->get(speech) : NULL);
|
||||
}
|
||||
|
||||
/*! \brief Free a list of results */
|
||||
|
Reference in New Issue
Block a user