[asterisk-commits] file: trunk r81407 - in /trunk: ./ res/res_speech.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 31 10:54:32 CDT 2007


Author: file
Date: Fri Aug 31 10:54:32 2007
New Revision: 81407

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81407
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/res/res_speech.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/res/res_speech.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_speech.c?view=diff&rev=81407&r1=81406&r2=81407
==============================================================================
--- trunk/res/res_speech.c (original)
+++ trunk/res/res_speech.c Fri Aug 31 10:54:32 2007
@@ -92,7 +92,7 @@
 /*! \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 */




More information about the asterisk-commits mailing list