commit | eced58017665537b260618cb4bbfebc1615de90f | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Mon Aug 12 13:34:52 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Mon Aug 12 13:34:52 2013 -0700 |
tree | 5b35e0b7bcd8c13c49c4027182cae0955fb5ee93 | |
parent | 27194b41dc00550d47a5b56054b91287c2d46a54 [diff] [blame] |
Make the initial size of the output buffer 16.
diff --git a/ndn-cpp/encoding/binary-xml-encoder.hpp b/ndn-cpp/encoding/binary-xml-encoder.hpp index e3ea15e..9e52613 100644 --- a/ndn-cpp/encoding/binary-xml-encoder.hpp +++ b/ndn-cpp/encoding/binary-xml-encoder.hpp
@@ -22,7 +22,7 @@ * Initialize the base ndn_BinaryXmlEncoder struct with an initial array of 16 bytes. Use simpleRealloc. */ BinaryXmlEncoder() - : output_(1) + : output_(16) { ndn_BinaryXmlEncoder_init(this, &output_); }