diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-09-20 20:40:39 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-09-20 20:40:39 +0000 |
commit | 70af28270d259626836514bd89841ba8a6fe7bb6 (patch) | |
tree | cfe98d62cefd297076949dd1e36255cd7e2c3b9a /cdr/cdr_odbc.c | |
parent | cc99b224696df73146059668866e2543e2cddb64 (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 'cdr/cdr_odbc.c')
-rw-r--r-- | cdr/cdr_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c index 18ba1654d..6ff12120c 100644 --- a/cdr/cdr_odbc.c +++ b/cdr/cdr_odbc.c @@ -246,7 +246,7 @@ static int odbc_load_module(void) int res = 0; struct ast_config *cfg; struct ast_variable *var; - char *tmp; + const char *tmp; ast_mutex_lock(&odbc_lock); |