aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_record.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2002-07-12 09:03:50 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2002-07-12 09:03:50 +0000
commit0ac7711a22bfc433c394d87fa58d2c553ba52b9f (patch)
treee2cb193cae19783f6b766de76726004c70d07d97 /apps/app_record.c
parent12fd7ca3bbc8df1293b20a615646e35b5033cb72 (diff)
Version 0.2.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@484 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_record.c')
-rwxr-xr-xapps/app_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c
index 4ad4a15fd..1e54276b8 100755
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -95,7 +95,7 @@ static int record_exec(struct ast_channel *chan, void *data)
LOCAL_USER_ADD(u);
- if (chan->state != AST_STATE_UP) {
+ if (chan->_state != AST_STATE_UP) {
res = ast_answer(chan); /* Shouldn't need this, but checking to see if channel is already answered
* Theoretically asterisk should already have answered before running the app */
}