summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 11:07:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 11:07:19 +0000
commita06876d5fd5e4222f5a568daea7f192996e53c2f (patch)
treea070d5ffa8fdcf41f769dcdb265a5eddc8fa2859 /src
parent05008506691249a1fb7d3d46651a5e8610a17a48 (diff)
And fixes for typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
-rw-r--r--src/userprocess.cpp1
2 files changed, 2 insertions, 1 deletions
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)