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 /apps/app_privacy.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 'apps/app_privacy.c')
-rw-r--r-- | apps/app_privacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_privacy.c b/apps/app_privacy.c index 277ffba4c..5da93eb40 100644 --- a/apps/app_privacy.c +++ b/apps/app_privacy.c @@ -82,7 +82,7 @@ static int privacy_exec (struct ast_channel *chan, void *data) int maxretries = 3; int minlength = 10; int x = 0; - char *s; + const char *s; char phone[30]; struct ast_module_user *u; struct ast_config *cfg = NULL; |