[asterisk-commits] file: branch file/speech-agi r90669 - /team/file/speech-agi/res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 3 15:06:45 CST 2007


Author: file
Date: Mon Dec  3 15:06:44 2007
New Revision: 90669

URL: http://svn.digium.com/view/asterisk?view=rev&rev=90669
Log:
One minor backport from my trunk work.

Modified:
    team/file/speech-agi/res/res_agi.c

Modified: team/file/speech-agi/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/team/file/speech-agi/res/res_agi.c?view=diff&rev=90669&r1=90668&r2=90669
==============================================================================
--- team/file/speech-agi/res/res_agi.c (original)
+++ team/file/speech-agi/res/res_agi.c Mon Dec  3 15:06:44 2007
@@ -1457,7 +1457,7 @@
 	size_t left = sizeof(tmp);
 	time_t start = 0, current;
 
-	if (argc != 4)
+	if (argc < 4)
 		return RESULT_SHOWUSAGE;
 
 	if (!speech) {




More information about the asterisk-commits mailing list