diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-20 20:40:39 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-20 20:40:39 +0000 |
commit | e8ef9fd3bafa2149743dbc054fee547b432be5a7 (patch) | |
tree | cfe98d62cefd297076949dd1e36255cd7e2c3b9a /funcs/func_odbc.c | |
parent | 9a47f6702095e34ea993fdbebe7e7a7736b8d5f1 (diff) |
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_odbc.c')
-rw-r--r-- | funcs/func_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c index 3f5c3f0a2..10145be82 100644 --- a/funcs/func_odbc.c +++ b/funcs/func_odbc.c @@ -350,7 +350,7 @@ static struct ast_custom_function escape_function = { static int init_acf_query(struct ast_config *cfg, char *catg, struct acf_odbc_query **query) { - char *tmp; + const char *tmp; if (!cfg || !catg) { return -1; |