And fixes for typos

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-02-26 11:07:19 +00:00
parent 0500850669
commit a06876d5fd
2 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
if (argc > i)
{
strlcpy(LOG_FILE,argv[i+1],MAXBUF);
printf("LOG: Setting logfile to %s",LOG_FILE);
printf("LOG: Setting logfile to %s\n",LOG_FILE);
}
else
{

View File

@ -380,6 +380,7 @@ void OpenLog(char** argv, int argc)
printf("ERROR: Could not write to logfile %s, bailing!\n\n",Config->logpath.c_str());
Exit(ERROR);
}
return;
}
Config->log_file = fopen(Config->logpath.c_str(),"a+");
if (!Config->log_file)