[Asterisk-cvs] asterisk/res res_monitor.c,1.4,1.5 res_parking.c,1.8,1.9

markster at lists.digium.com markster at lists.digium.com
Wed Sep 10 00:23:41 CDT 2003


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

Modified Files:
	res_monitor.c res_parking.c 
Log Message:
Fix small logic errors (bug #242)


Index: res_monitor.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_monitor.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** res_monitor.c	8 Sep 2003 16:44:36 -0000	1.4
--- res_monitor.c	10 Sep 2003 05:24:49 -0000	1.5
***************
*** 3,6 ****
--- 3,8 ----
  #include <errno.h>
  #include <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
  
  #include <asterisk/lock.h>

Index: res_parking.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_parking.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** res_parking.c	13 Aug 2003 15:25:16 -0000	1.8
--- res_parking.c	10 Sep 2003 05:24:49 -0000	1.9
***************
*** 583,587 ****
  	cur=parkinglot;
  	while(cur) {
! 		ast_cli(fd, "%4d %25s (%-15s %-12s %-4d) %6ds\n"
  			,cur->parkingnum, cur->chan->name, cur->context, cur->exten
  			,cur->priority, cur->start.tv_sec + (cur->parkingtime/1000) - time(NULL));
--- 583,587 ----
  	cur=parkinglot;
  	while(cur) {
! 		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));




More information about the svn-commits mailing list