[svn-commits] trunk r30700 - /trunk/apps/app_playback.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun May 28 22:14:53 MST 2006


Author: rizzo
Date: Mon May 29 00:14:52 2006
New Revision: 30700

URL: http://svn.digium.com/view/asterisk?rev=30700&view=rev
Log:
remove an explicit constant;
add a comment on the need to sort patterns in the standard way.


Modified:
    trunk/apps/app_playback.c

Modified: trunk/apps/app_playback.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_playback.c?rev=30700&r1=30699&r2=30700&view=diff
==============================================================================
--- trunk/apps/app_playback.c (original)
+++ trunk/apps/app_playback.c Mon May 29 00:14:52 2006
@@ -223,7 +223,7 @@
 		}
 		/* prefix:fmt:data */
 		for (p = fmt; p < data && ret <= 0; p++) {
-			char fn2[128];
+			char fn2[sizeof(fn)];
 			if (*p == ' ' || *p == '\t')	/* skip blanks */
 				continue;
 			if (*p == '\'') {/* file name - we trim them */
@@ -458,6 +458,10 @@
 		ast_log(LOG_NOTICE, "Reloading say.conf\n");
 	}
 	say_cfg = ast_config_load("say.conf");
+	/*
+	 * XXX here we should sort rules according to the same order
+	 * we have in pbx.c so we have the same matching behaviour.
+	 */
 	return 0;
 }
 



More information about the svn-commits mailing list