mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-13 04:29:03 -04:00
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:
parent
0500850669
commit
a06876d5fd
@ -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
|
||||
{
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user