Avoid buffering the line containing the error
commit9b5f251a8d54bdc87fd99ba77251ae8611b87823
authorOlly Betts <olly@survex.com>
Sun, 21 Aug 2016 06:04:10 +0000 (21 18:04 +1200)
committerOlly Betts <olly@survex.com>
Mon, 22 Aug 2016 01:14:00 +0000 (22 13:14 +1200)
treefe03fb637e3ba1e98f143414fde2dc0493bc0ecd
parent7e0ea2f66566f3a9df5690ea6d197e70eaa8e2ad
Avoid buffering the line containing the error

Just write it out as we read it to avoid having to truncate it if
it doesn't fit in the fixed sized buffer, or have to worry about
dynamically sizing a buffer.
src/aven.cc
src/datain.c
src/message.c