mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
remove an explicit constant;
add a comment on the need to sort patterns in the standard way. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -223,7 +223,7 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
|
||||
}
|
||||
/* 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 @@ static int reload(void *mod)
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user