mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Fix small logic errors (bug #242)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <asterisk/lock.h>
|
||||
#include <asterisk/channel.h>
|
||||
|
@@ -582,7 +582,7 @@ static int handle_parkedcalls(int fd, int argc, char *argv[])
|
||||
|
||||
cur=parkinglot;
|
||||
while(cur) {
|
||||
ast_cli(fd, "%4d %25s (%-15s %-12s %-4d) %6ds\n"
|
||||
ast_cli(fd, "%4d %25s (%-15s %-12s %-4d) %6lds\n"
|
||||
,cur->parkingnum, cur->chan->name, cur->context, cur->exten
|
||||
,cur->priority, cur->start.tv_sec + (cur->parkingtime/1000) - time(NULL));
|
||||
|
||||
|
Reference in New Issue
Block a user