/[LeafOK_CVS]/lbbs/src/log.c
ViewVC logotype

Diff of /lbbs/src/log.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 by sysadm, Sat Oct 23 18:41:41 2004 UTC Revision 1.8 by sysadm, Sun Mar 20 14:37:37 2005 UTC
# Line 58  log_head (char *buf) Line 58  log_head (char *buf)
58    t = time(0);    t = time(0);
59        
60    strftime(s_time,256,"%Y-%m-%d %H:%M:%S", localtime (&t));    strftime(s_time,256,"%Y-%m-%d %H:%M:%S", localtime (&t));
61    sprintf(buf,"[%s] [%d] ", s_time, getpid());    sprintf(buf,"[%s] [%d] ", s_time, getpid ());
62        
63    return 0;    return 0;
64  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1