[X2serv-cvs] CVS: x2/source main.c,1.48,1.49 server.c,1.14,1.15
Brought to you by:
sirvulcan
From: Richard P. <lys...@us...> - 2001-03-04 10:28:52
|
Update of /cvsroot/x2serv/x2/source In directory usw-pr-cvs1:/tmp/cvs-serv5887/source Modified Files: main.c server.c Log Message: Fixed the supergline timestamp error Index: main.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/main.c,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -r1.48 -r1.49 *** main.c 2001/01/24 00:54:17 1.48 --- main.c 2001/03/04 10:30:22 1.49 *************** *** 308,312 **** ProcessAddGline(address, gtime - NetTime(), reason); else if(type == 'S') ! ProcessAddSGline(address, gtime - NetTime(), reason); } fclose(TheFile); --- 308,312 ---- ProcessAddGline(address, gtime - NetTime(), reason); else if(type == 'S') ! ProcessAddSGline(address, gtime, reason); } fclose(TheFile); Index: server.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/server.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** server.c 2001/02/28 10:11:29 1.14 --- server.c 2001/03/04 10:30:22 1.15 *************** *** 195,199 **** { Debug(DBGNOTICE, "SuperGline already in my supergline list, updating... "); ! gptr->time = NetTime() + gtime; return; } --- 195,199 ---- { Debug(DBGNOTICE, "SuperGline already in my supergline list, updating... "); ! gptr->time = gtime; return; } *************** *** 202,206 **** safecopy(gptr->address, Address, MAXLEN); safecopy(gptr->reason, Reason, MAXLEN); ! gptr->time = (NetTime() + gtime); gptr->Next = SuperGlines; SuperGlines = gptr; --- 202,206 ---- safecopy(gptr->address, Address, MAXLEN); safecopy(gptr->reason, Reason, MAXLEN); ! gptr->time = gtime; gptr->Next = SuperGlines; SuperGlines = gptr; |