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
This commit is contained in:
Tilghman Lesher
2006-09-20 20:40:39 +00:00
parent cc99b22469
commit 70af28270d
21 changed files with 141 additions and 126 deletions

View File

@@ -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;