[svn-commits] dvossel: trunk r247736 - /trunk/apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 18 14:58:46 CST 2010


Author: dvossel
Date: Thu Feb 18 14:58:41 2010
New Revision: 247736

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247736
Log:
fixes Queue with C option crash

(closes issue #16475)
Reported by: okrief
Patches:
      queue_crash.diff uploaded by dvossel (license 671)

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=247736&r1=247735&r2=247736
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Feb 18 14:58:41 2010
@@ -2584,7 +2584,7 @@
 	while (outgoing) {
 		/* If someone else answered the call we should indicate this in the CANCEL */
 		/* Hangup any existing lines we have open */
-		if (outgoing->chan && (outgoing->chan != exception || cancel_answered_elsewhere)) {
+		if (outgoing->chan && (outgoing->chan != exception)) {
 			if (exception || cancel_answered_elsewhere)
 				ast_set_flag(outgoing->chan, AST_FLAG_ANSWERED_ELSEWHERE);
 			ast_hangup(outgoing->chan);




More information about the svn-commits mailing list