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_odbc.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_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 }; |