aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-07 20:38:43 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-07 20:38:43 +0000
commit4d714a548871e5858faa4d7b9bdb0ffebccde161 (patch)
treeb4a1d4ac13b7ad2896d52e705bc10dc76563c489 /app.c
parentb64c7117dddd2cd4dba0a24a3ba60166ee0167c4 (diff)
Big diet for struct ast_channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'app.c')
-rwxr-xr-xapp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.c b/app.c
index 5e57a86fb..dc078ce2a 100755
--- a/app.c
+++ b/app.c
@@ -364,9 +364,9 @@ static void *linear_alloc(struct ast_channel *chan, void *params)
if (params) {
ls = params;
if (ls->allowoverride)
- chan->writeinterrupt = 1;
+ ast_set_flag(chan, AST_FLAG_WRITE_INT);
else
- chan->writeinterrupt = 0;
+ ast_clear_flag(chan, AST_FLAG_WRITE_INT);
ls->origwfmt = chan->writeformat;
if (ast_set_write_format(chan, AST_FORMAT_SLINEAR)) {
ast_log(LOG_WARNING, "Unable to set '%s' to linear format (write)\n", chan->name);