mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user