[svn-commits] russell: branch 1.4 r223486 - /branches/1.4/main/autoservice.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Oct 11 12:25:08 CDT 2009


Author: russell
Date: Sun Oct 11 12:25:06 2009
New Revision: 223486

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223486
Log:
Remove some unnecessary code.

Modified:
    branches/1.4/main/autoservice.c

Modified: branches/1.4/main/autoservice.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/autoservice.c?view=diff&rev=223486&r1=223485&r2=223486
==============================================================================
--- branches/1.4/main/autoservice.c (original)
+++ branches/1.4/main/autoservice.c Sun Oct 11 12:25:06 2009
@@ -124,16 +124,13 @@
 		}
 
 		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
 			 * never return again for the condition to be detected outside
 			 * 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 {




More information about the svn-commits mailing list