diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-14 15:13:22 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-14 15:13:22 +0000 |
commit | 22206839a45a4e38c78c92a9e5cba4ae00d8dd0f (patch) | |
tree | 4d13b85101ee91390cedfbdfd9efba5a436b7aea /res/res_odbc.c | |
parent | 4373e923a8f07011650708d9a2fee841a3825577 (diff) |
One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89270 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_odbc.c')
-rw-r--r-- | res/res_odbc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c index 0b3887232..8d3a4da0b 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -232,7 +232,8 @@ static int load_odbc_config(void) static char *cfg = "res_odbc.conf"; struct ast_config *config; struct ast_variable *v; - char *cat, *dsn, *username, *password, *sanitysql; + char *cat; + const char *dsn, *username, *password, *sanitysql; int enabled, pooling, limit; int connect = 0, res = 0; struct ast_flags config_flags = { 0 }; @@ -581,7 +582,8 @@ static int reload(void) static char *cfg = "res_odbc.conf"; struct ast_config *config; struct ast_variable *v; - char *cat, *dsn, *username, *password, *sanitysql; + char *cat; + const char *dsn, *username, *password, *sanitysql; int enabled, pooling, limit; int connect = 0, res = 0; struct ast_flags config_flags = { CONFIG_FLAG_FILEUNCHANGED }; |