src/sbbs3 logfile.cpp 1.58 1.59
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv23342
Modified Files:
logfile.cpp
Log Message:
Overhaul these functions:
Use fopen/fprintf (buffered writes) rather than open/write.
Use safe_snprintf() and SAFEPRINTF for safe string formatting.
Use a variable for line-endings (in preparation for support for Unix-style log files for those sysops that prefer them).
hacklog() now supports a NULL 'text' argument.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net