One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-11-14 15:13:22 +00:00
parent b4839d4d4a
commit 0f6892419e
6 changed files with 13 additions and 11 deletions

View File

@@ -215,7 +215,7 @@ struct rt_multi_cfg_entry_args {
* \retval 0 on success
* \retval 1 if an allocation error occurred
*/
static int set_var(char **var, char *name, char *value);
static int set_var(char **var, const char *name, const char *value);
/*!
* \brief Load the configuration file.
@@ -587,7 +587,7 @@ static char *sql_get_config_table =
" WHERE filename = '%q' AND commented = 0"
" ORDER BY cat_metric ASC, var_metric ASC;";
static int set_var(char **var, char *name, char *value)
static int set_var(char **var, const char *name, const char *value)
{
if (*var)
ast_free(*var);