[Asterisk-cvs] asterisk/res res_agi.c,1.29,1.30

markster at lists.digium.com markster at lists.digium.com
Tue Mar 29 00:27:35 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv7518/res

Modified Files:
	res_agi.c 
Log Message:
Little say numer fix (bug #3884)


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- res_agi.c	28 Mar 2005 07:08:39 -0000	1.29
+++ res_agi.c	29 Mar 2005 06:21:21 -0000	1.30
@@ -564,7 +564,7 @@
 	int num;
 	if (argc != 4)
 		return RESULT_SHOWUSAGE;
-	if (sscanf(argv[2], "%i", &num) != 1)
+	if (sscanf(argv[2], "%d", &num) != 1)
 		return RESULT_SHOWUSAGE;
 	res = ast_say_number_full(chan, num, argv[3], chan->language, (char *) NULL, agi->audio, agi->ctrl);
 	if (res == 1)




More information about the svn-commits mailing list