diff options
author | Mark Spencer <markster@digium.com> | 2005-03-04 06:47:24 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-04 06:47:24 +0000 |
commit | 18d9b26cf9c2eb5b6d52e840b38abfeb16d681de (patch) | |
tree | d4f64d65fd10bb76d2839b641fa20091909210c5 /apps/app_sendtext.c | |
parent | fba0b595ab087cddcc11d950e88da7446f8ff6c2 (diff) |
Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_sendtext.c')
-rwxr-xr-x | apps/app_sendtext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_sendtext.c b/apps/app_sendtext.c index b58ec7f65..4bacbaa50 100755 --- a/apps/app_sendtext.c +++ b/apps/app_sendtext.c @@ -15,7 +15,6 @@ #include <asterisk/file.h> #include <asterisk/logger.h> #include <asterisk/channel.h> -#include <asterisk/channel_pvt.h> #include <asterisk/pbx.h> #include <asterisk/module.h> #include <asterisk/translate.h> @@ -51,7 +50,7 @@ static int sendtext_exec(struct ast_channel *chan, void *data) } LOCAL_USER_ADD(u); ast_mutex_lock(&chan->lock); - if (!chan->pvt->send_text) { + if (!chan->tech->send_text) { ast_mutex_unlock(&chan->lock); /* Does not support transport */ if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->cid.cid_num)) |