User round number for buffer size.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 16 Feb 2010 16:06:06 +0000 (16:06 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Nov 2010 18:47:59 +0000 (18:47 +0000)
log.cpp

diff --git a/log.cpp b/log.cpp
index a42cee9..8064c4b 100644 (file)
--- a/log.cpp
+++ b/log.cpp
@@ -238,7 +238,7 @@ static void TextChar(char c) {
 }
 
 void TextF(const char *format, ...) {
-    char szBuffer[4196];
+    char szBuffer[4096];
     va_list ap;
     va_start(ap, format);
     vsnprintf(szBuffer, sizeof(szBuffer), format, ap);