summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-20 20:40:39 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-20 20:40:39 +0000
commit70af28270d259626836514bd89841ba8a6fe7bb6 (patch)
treecfe98d62cefd297076949dd1e36255cd7e2c3b9a /funcs
parentcc99b224696df73146059668866e2543e2cddb64 (diff)
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c2
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;