summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.cc b/src/format.cc
index d29c87b3..14bb2430 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -129,7 +129,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt,
element_t * current = NULL;
- char buf[1024];
+ static char buf[65535];
char * q = buf;
for (const char * p = fmt.c_str(); *p; p++) {