[Asterisk-cvs] asterisk/apps app_queue.c,1.159,1.160

kpfleming kpfleming
Thu Sep 1 18:31:30 CDT 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv6694/apps

Modified Files:
	app_queue.c 
Log Message:
fix stupid thinko (thanks velter!)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- app_queue.c	31 Aug 2005 20:16:47 -0000	1.159
+++ app_queue.c	1 Sep 2005 22:32:29 -0000	1.160
@@ -3206,7 +3206,7 @@
 		if(q->callscompleted > 0)
 			sl = 100*((float)q->callscompletedinsl/(float)q->callscompleted);
 		ast_cli(fd, "%-12.12s has %d calls (max %s) in '%s' strategy (%ds holdtime), W:%d, C:%d, A:%d, SL:%2.1f%% within %ds\n",
-			q->name, q->count, max, int2strat(q->strategy), q->holdtime, q->weight, q->callscompleted, q->callsabandoned,sl,q->servicelevel);
+			q->name, q->count, max_buf, int2strat(q->strategy), q->holdtime, q->weight, q->callscompleted, q->callsabandoned,sl,q->servicelevel);
 		if (q->members) {
 			ast_cli(fd, "   Members: \n");
 			for (mem = q->members; mem; mem = mem->next) {
@@ -3225,7 +3225,7 @@
 							 mem->calls, (long)(time(NULL) - mem->lastcall));
 				} else
 					ast_build_string(&max, &max_left, " has taken no calls yet");
-				ast_cli(fd, "      %s%s\n", mem->interface, max);
+				ast_cli(fd, "      %s%s\n", mem->interface, max_buf);
 			}
 		} else
 			ast_cli(fd, "   No Members\n");




More information about the svn-commits mailing list