From 70af28270d259626836514bd89841ba8a6fe7bb6 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 20 Sep 2006 20:40:39 +0000 Subject: 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 --- cdr/cdr_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cdr/cdr_odbc.c') 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); -- cgit v1.2.3