aboutsummaryrefslogtreecommitdiffstats
path: root/main/logger.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 20:40:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 20:40:39 +0000
commite8ef9fd3bafa2149743dbc054fee547b432be5a7 (patch)
treecfe98d62cefd297076949dd1e36255cd7e2c3b9a /main/logger.c
parent9a47f6702095e34ea993fdbebe7e7a7736b8d5f1 (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 'main/logger.c')
-rw-r--r--main/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c
index c9dbf4dea..12c37a83b 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -286,7 +286,7 @@ static void init_logger_chain(void)
struct logchannel *chan;
struct ast_config *cfg;
struct ast_variable *var;
- char *s;
+ const char *s;
/* delete our list of log channels */
AST_LIST_LOCK(&logchannels);