From a06876d5fd5e4222f5a568daea7f192996e53c2f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Feb 2006 11:07:19 +0000 Subject: And fixes for typos git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- src/userprocess.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index aa40638e2..914e8d4be 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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 { diff --git a/src/userprocess.cpp b/src/userprocess.cpp index c53aaab0b..d40ba494b 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -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) -- cgit v1.2.3