/[LeafOK_CVS]/innwebd/innd.cpp
ViewVC logotype

Diff of /innwebd/innd.cpp

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

Revision 1.1 by sysadm, Fri Jun 25 07:01:51 2004 UTC Revision 1.2 by sysadm, Wed Jun 30 12:53:36 2004 UTC
# Line 18  Line 18 
18  #include "stdafx.h"  #include "stdafx.h"
19  #include "afxsock.h"  #include "afxsock.h"
20  #include ".\innd.h"  #include ".\innd.h"
 #include ".\nntp_log.h"  
21  #include ".\innd_service.h"  #include ".\innd_service.h"
22  #include ".\bbs_fun.h"  #include ".\bbs_fun.h"
23    
# Line 48  int _tmain(int argc, TCHAR* argv[], TCHA Line 47  int _tmain(int argc, TCHAR* argv[], TCHA
47          // System settings          // System settings
48          const char* log_file = _T("innd.log");          const char* log_file = _T("innd.log");
49    
50          nntp_log::nlog.open(log_file,ios_base::out | ios_base::app);          nlog.open(log_file,ios_base::out | ios_base::app);
51    
52          if(!AfxSocketInit())          if(!AfxSocketInit())
53          {          {
54                  nntp_log::nlog << "Sockets init failed" << endl;                  nlog << nntp_log::log_head << "Sockets init failed" << endl;
55                  return 3;                  return 3;
56          }          }
57    


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

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