Fix improper indentation. Thanks again to snuffy for pointing it out.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Mark Michelson 17 years ago
parent cd02fd2763
commit 84ecef76b8

@ -579,16 +579,16 @@ static void set_queue_variables(struct queue_ent *qe)
float sl = 0; float sl = 0;
if (qe->parent->setqueuevar) { if (qe->parent->setqueuevar) {
sl = 0; sl = 0;
if (qe->parent->callscompleted > 0) if (qe->parent->callscompleted > 0)
sl = 100 * ((float) qe->parent->callscompletedinsl / (float) qe->parent->callscompleted); sl = 100 * ((float) qe->parent->callscompletedinsl / (float) qe->parent->callscompleted);
snprintf(interfacevar,sizeof(interfacevar), snprintf(interfacevar,sizeof(interfacevar),
"QUEUENAME=%s|QUEUEMAX=%d|QUEUESTRATEGY=%s|QUEUECALLS=%d|QUEUEHOLDTIME=%d|QUEUECOMPLETED=%d|QUEUEABANDONED=%d|QUEUESRVLEVEL=%d|QUEUESRVLEVELPERF=%2.1f", "QUEUENAME=%s|QUEUEMAX=%d|QUEUESTRATEGY=%s|QUEUECALLS=%d|QUEUEHOLDTIME=%d|QUEUECOMPLETED=%d|QUEUEABANDONED=%d|QUEUESRVLEVEL=%d|QUEUESRVLEVELPERF=%2.1f",
qe->parent->name, qe->parent->maxlen, int2strat(qe->parent->strategy), qe->parent->count, qe->parent->holdtime, qe->parent->callscompleted, qe->parent->name, qe->parent->maxlen, int2strat(qe->parent->strategy), qe->parent->count, qe->parent->holdtime, qe->parent->callscompleted,
qe->parent->callsabandoned, qe->parent->servicelevel, sl); qe->parent->callsabandoned, qe->parent->servicelevel, sl);
pbx_builtin_setvar(qe->chan, interfacevar); pbx_builtin_setvar(qe->chan, interfacevar);
} }
} }

Loading…
Cancel
Save