summaryrefslogtreecommitdiff
path: root/apps/app_festival.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-20 20:40:39 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-20 20:40:39 +0000
commit70af28270d259626836514bd89841ba8a6fe7bb6 (patch)
treecfe98d62cefd297076949dd1e36255cd7e2c3b9a /apps/app_festival.c
parentcc99b224696df73146059668866e2543e2cddb64 (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_festival.c')
-rw-r--r--apps/app_festival.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c
index d365b2410..cf0dfcba4 100644
--- a/apps/app_festival.c
+++ b/apps/app_festival.c
@@ -280,10 +280,10 @@ static int festival_exec(struct ast_channel *chan, void *vdata)
struct ast_hostent ahp;
int fd;
FILE *fs;
- char *host;
- char *cachedir;
- char *temp;
- char *festivalcommand;
+ const char *host;
+ const char *cachedir;
+ const char *temp;
+ const char *festivalcommand;
int port=1314;
int n;
char ack[4];