--- innwebd/innd.cpp 2004/06/25 07:01:51 1.1.1.1 +++ innwebd/innd.cpp 2004/06/30 12:53:36 1.2 @@ -18,7 +18,6 @@ #include "stdafx.h" #include "afxsock.h" #include ".\innd.h" -#include ".\nntp_log.h" #include ".\innd_service.h" #include ".\bbs_fun.h" @@ -48,11 +47,11 @@ int _tmain(int argc, TCHAR* argv[], TCHA // System settings const char* log_file = _T("innd.log"); - nntp_log::nlog.open(log_file,ios_base::out | ios_base::app); + nlog.open(log_file,ios_base::out | ios_base::app); if(!AfxSocketInit()) { - nntp_log::nlog << "Sockets init failed" << endl; + nlog << nntp_log::log_head << "Sockets init failed" << endl; return 3; }