summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-19 04:02:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-19 04:02:49 -0500
commit9097bc8cd3a19d98e271dd683986e3fc455da123 (patch)
tree410830139921cd9a07314556850c93f6df2e251f /src/item.cc
parent95ef2e3b65c8bcb9dbcd902d338fb429b42b8689 (diff)
downloadfork-ledger-9097bc8cd3a19d98e271dd683986e3fc455da123.tar.gz
fork-ledger-9097bc8cd3a19d98e271dd683986e3fc455da123.tar.bz2
fork-ledger-9097bc8cd3a19d98e271dd683986e3fc455da123.zip
Made an assert more relaxed in item_context()
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index 4ddbe913..33c3110c 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -543,7 +543,7 @@ string item_context(const item_t& item, const string& desc)
if (! (len > 0))
return empty_string;
- assert(len < 8192);
+ assert(len < 1024 * 1024);
std::ostringstream out;