[asterisk-commits] file: branch 1.4 r76054 - /branches/1.4/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 20 11:49:13 CDT 2007


Author: file
Date: Fri Jul 20 11:49:13 2007
New Revision: 76054

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76054
Log:
Move makeannouncement variable declaration to proper place.

Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=76054&r1=76053&r2=76054
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Fri Jul 20 11:49:13 2007
@@ -3381,6 +3381,8 @@
 	qe.last_periodic_announce_sound = 0;
 	qe.valid_digits = 0;
 	if (!join_queue(args.queuename, &qe, &reason)) {
+		int makeannouncement = 0;
+
 		ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ENTERQUEUE", "%s|%s", S_OR(args.url, ""),
 			S_OR(chan->cid.cid_num, ""));
 check_turns:
@@ -3394,8 +3396,6 @@
 		res = wait_our_turn(&qe, ringing, &reason);
 		if (res)
 			goto stop;
-
-		int makeannouncement = 0;
 
 		for (;;) {
 			/* This is the wait loop for the head caller*/




More information about the asterisk-commits mailing list