[Olsr-cvs] olsrd-current/src scheduler.c,1.30,1.31
Andreas T�nnesen
(spam-protected)
Fri Oct 28 20:39:35 CEST 2005
- Previous message: [Olsr-cvs] olsrd-current/src link_set.c, 1.60, 1.61 link_set.h, 1.27, 1.28 lq_packet.c, 1.17, 1.18 lq_route.c, 1.36, 1.37 net_olsr.c, 1.4, 1.5
- Next message: [Olsr-cvs] olsrd-current CHANGELOG,1.49,1.50
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2613/src
Modified Files:
scheduler.c
Log Message:
Checking for -1 and not negative on call to times
Index: scheduler.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/scheduler.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** scheduler.c 29 Mar 2005 19:07:19 -0000 1.30
--- scheduler.c 28 Oct 2005 18:39:33 -0000 1.31
***************
*** 114,120 ****
/* Update now_times */
! if((now_times = times(&tms_buf)) < 0)
{
! if((now_times = times(&tms_buf)) < 0)
{
fprintf(stderr, "Fatal!scheduler could not get new_times.\n%s\n", strerror(errno));
--- 114,120 ----
/* Update now_times */
! if((now_times = times(&tms_buf)) == -1)
{
! if((now_times = times(&tms_buf)) == -1)
{
fprintf(stderr, "Fatal!scheduler could not get new_times.\n%s\n", strerror(errno));
- Previous message: [Olsr-cvs] olsrd-current/src link_set.c, 1.60, 1.61 link_set.h, 1.27, 1.28 lq_packet.c, 1.17, 1.18 lq_route.c, 1.36, 1.37 net_olsr.c, 1.4, 1.5
- Next message: [Olsr-cvs] olsrd-current CHANGELOG,1.49,1.50
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list