summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 20:55:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 20:55:59 +0000
commitc5b5dd77cead4f65fa222551a184e1401904c25d (patch)
tree4f40f32b8fc826b1373c8c9ef5d1cd32630a3f36 /src/helperfuncs.cpp
parent80c3f6c4bdaeb184ff4bf66f0d465d081a1d1263 (diff)
Finally got read buffering working properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5939 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 4475c169a..05f2d79c3 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -33,10 +33,10 @@ static time_t LAST = 0;
void InspIRCd::Log(int level, const char* text, ...)
{
va_list argsPtr;
- char textbuffer[MAXBUF];
+ char textbuffer[65536];
va_start(argsPtr, text);
- vsnprintf(textbuffer, MAXBUF, text, argsPtr);
+ vsnprintf(textbuffer, 65536, text, argsPtr);
va_end(argsPtr);
this->Log(level, std::string(textbuffer));