[asterisk-commits] branch 1.2 r31921 - /branches/1.2/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jun 3 20:43:36 MST 2006


Author: kpfleming
Date: Sat Jun  3 22:43:35 2006
New Revision: 31921

URL: http://svn.digium.com/view/asterisk?rev=31921&view=rev
Log:
return bridge exit logic to what it was before i broke it :-(

Modified:
    branches/1.2/apps/app_queue.c

Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=31921&r1=31920&r2=31921&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Sat Jun  3 22:43:35 2006
@@ -2431,7 +2431,7 @@
 		if (bridge != AST_PBX_NO_HANGUP_PEER)
 			ast_hangup(peer);
 		update_queue(qe->parent, member);
-		res = bridge ? -1 : 0;
+		res = bridge ? bridge : 1;
 	}	
 out:
 	hangupcalls(outgoing, NULL);



More information about the asterisk-commits mailing list