summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-26 20:18:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-26 20:18:03 +0000
commit8541ef7d986618c751f7f50986b4d89c2dbef8d3 (patch)
tree9e2acfd7d51f968971b74eadcfb15294d3a5bf25 /src/configreader.cpp
parentb86a95c7016748add7d0a746b4dc6b2a4e3ddc43 (diff)
pah, bully to you, mister posix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7159 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 2f484293f..5ec60d1c3 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1602,7 +1602,7 @@ bool ServerConfig::DirValid(const char* dirandfile)
std::string ServerConfig::GetFullProgDir()
{
- char buffer[PATH_MAX];
+ char buffer[PATH_MAX+1];
// Get the current working directory
if (getcwd(buffer, PATH_MAX))