Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv1496/src
Modified Files:
Tag: rel-1_0
gline.c
Log Message:
i suck :(
Index: gline.c
===================================================================
RCS file: /cvsroot/srvx/services/src/gline.c,v
retrieving revision 1.6.2.5
retrieving revision 1.6.2.6
diff -C2 -r1.6.2.5 -r1.6.2.6
*** gline.c 2001/08/15 13:05:46 1.6.2.5
--- gline.c 2001/08/15 13:07:20 1.6.2.6
***************
*** 139,143 ****
if (ent) {
heap_remove_pred(gline_heap, gline_for_p, (char*)target);
! if (ent->expires < (now + duration)) ent->expires = now + duration;
} else {
ent = malloc(sizeof(*ent));
--- 139,143 ----
if (ent) {
heap_remove_pred(gline_heap, gline_for_p, (char*)target);
! if (ent->expires < (time_t)(now + duration)) ent->expires = now + duration;
} else {
ent = malloc(sizeof(*ent));
|