summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@fpcomplete.com>2013-02-03 08:26:56 -0600
committerJohn Wiegley <johnw@fpcomplete.com>2013-02-03 08:31:17 -0600
commit989f86974750ae4ae32645386d749e94e66eb27d (patch)
tree27ffebd26c4e4fa1f31ca77d368627a44a2369e4 /src/format.cc
parent595a8afa44ad3f30995556fbee36ac16024e7c23 (diff)
downloadfork-ledger-989f86974750ae4ae32645386d749e94e66eb27d.tar.gz
fork-ledger-989f86974750ae4ae32645386d749e94e66eb27d.tar.bz2
fork-ledger-989f86974750ae4ae32645386d749e94e66eb27d.zip
Bump format parsing buffer to 64K
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++) {