aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-11 17:25:06 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-11 17:25:06 +0000
commit42cb91675d86193e02c05810ab96981113bb643c (patch)
tree438e84425738b15bc8b2561ea1f9b850b74dfb98 /main
parenteda1b54540ffa00a4fd9f9f9be8fb541489abcee (diff)
Remove some unnecessary code.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@223486 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/autoservice.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/autoservice.c b/main/autoservice.c
index 246052784..bccee43f8 100644
--- a/main/autoservice.c
+++ b/main/autoservice.c
@@ -124,7 +124,7 @@ static void *autoservice_run(void *ign)
}
f = ast_read(chan);
-
+
if (!f) {
/* No frame means the channel has been hung up.
* A hangup frame needs to be queued here as ast_waitfor() may
@@ -132,9 +132,6 @@ static void *autoservice_run(void *ign)
* of autoservice. So, we'll leave a HANGUP queued up so the
* thread in charge of this channel will know. */
- hangup_frame.frametype = AST_FRAME_CONTROL;
- hangup_frame.subclass = AST_CONTROL_HANGUP;
-
defer_frame = &hangup_frame;
} else {