[asterisk-commits] russell: branch russell/jack r93175 - /team/russell/jack/apps/app_jack.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Dec 16 16:17:24 CST 2007


Author: russell
Date: Sun Dec 16 16:17:24 2007
New Revision: 93175

URL: http://svn.digium.com/view/asterisk?view=rev&rev=93175
Log:
properly exit on hangup

Modified:
    team/russell/jack/apps/app_jack.c

Modified: team/russell/jack/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/apps/app_jack.c?view=diff&rev=93175&r1=93174&r2=93175
==============================================================================
--- team/russell/jack/apps/app_jack.c (original)
+++ team/russell/jack/apps/app_jack.c Sun Dec 16 16:17:24 2007
@@ -500,8 +500,10 @@
 		ast_waitfor(chan, -1);
 
 		f = ast_read(chan);
-		if (!f)
+		if (!f) {
+			jack_data.stop = 1;
 			continue;
+		}
 
 		switch (f->frametype) {
 		case AST_FRAME_CONTROL:




More information about the asterisk-commits mailing list