[Asterisk-cvs] asterisk/apps app_queue.c,1.34,1.35
markster at lists.digium.com
markster at lists.digium.com
Wed Sep 10 00:23:40 CDT 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv24152/apps
Modified Files:
app_queue.c
Log Message:
Fix small logic errors (bug #242)
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** app_queue.c 8 Sep 2003 16:48:06 -0000 1.34
--- app_queue.c 10 Sep 2003 05:24:49 -0000 1.35
***************
*** 1384,1388 ****
ast_cli(fd, " Callers: \n");
for (qe = q->head; qe; qe = qe->next)
! ast_cli(fd, " %d. %s (wait: %d:%02.2d)\n", pos++, qe->chan->name,
(now - qe->start) / 60, (now - qe->start) % 60);
} else
--- 1384,1388 ----
ast_cli(fd, " Callers: \n");
for (qe = q->head; qe; qe = qe->next)
! ast_cli(fd, " %d. %s (wait: %d:%2.2d)\n", pos++, qe->chan->name,
(now - qe->start) / 60, (now - qe->start) % 60);
} else
***************
*** 1442,1446 ****
"%s"
"\r\n",
! q->name, pos++, qe->chan->name, (qe->chan->callerid ? qe->chan->callerid : ""), now - qe->start), idText;
ast_mutex_unlock(&q->lock);
q = q->next;
--- 1442,1446 ----
"%s"
"\r\n",
! q->name, pos++, qe->chan->name, (qe->chan->callerid ? qe->chan->callerid : ""), (long)(now - qe->start), idText);
ast_mutex_unlock(&q->lock);
q = q->next;
More information about the svn-commits
mailing list