summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-09-01 22:32:29 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-09-01 22:32:29 +0000
commit37a3c098bfc6abeb34e3df81ae1c8d226d19b910 (patch)
treea7580953f7a33ed57ec5094f8dcaaddbe72a7348 /apps/app_queue.c
parentd3a76999d05ec02331dae5e65ede8a184ae6e759 (diff)
fix stupid thinko (thanks velter!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index de56295e9..ccc850af1 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3206,7 +3206,7 @@ static int __queues_show(int fd, int argc, char **argv, int queue_show)
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 @@ static int __queues_show(int fd, int argc, char **argv, int queue_show)
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");