diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-14 15:13:22 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-14 15:13:22 +0000 |
commit | 0f6892419e528b87e5f78304ca4e4ffa75ac58e5 (patch) | |
tree | 4d13b85101ee91390cedfbdfd9efba5a436b7aea /res/res_config_sqlite.c | |
parent | b4839d4d4ae5072ff910a253abcbe474018b67d7 (diff) |
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
Diffstat (limited to 'res/res_config_sqlite.c')
-rw-r--r-- | res/res_config_sqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c index d05a38237..53987cc9a 100644 --- a/res/res_config_sqlite.c +++ b/res/res_config_sqlite.c @@ -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); |