aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_sendtext.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-04 06:47:24 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-04 06:47:24 +0000
commit8ba4898a1eece83e44568bf8a4373a3de341a40c (patch)
treed4f64d65fd10bb76d2839b641fa20091909210c5 /apps/app_sendtext.c
parentb0180cc4f641d4097a85f52b887ac0bef130604b (diff)
Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_sendtext.c')
-rwxr-xr-xapps/app_sendtext.c3
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))