summaryrefslogtreecommitdiffstats
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-04-20 12:37:35 +0200
committerGergely Nagy <algernon@balabit.hu>2012-04-20 12:37:35 +0200
commit32887a13759b27f5b29f585d2b278c225be1fa0d (patch)
tree70672dd48bf2a0cea5f4d1dd8c9effe9e9850160 /lib/buffer.c
parent71b8240a9768cdecef3e8a27fd84fecef8e6de40 (diff)
Properly reset the JSON buffer in all cases.
Previously the JSON buffer was only reset when ul_vformat() was called, but not everything goes through that, so some messages ended up being garbled. The proper thing to do is to reset in _ul_vformat(), as everything goes through that, and that's the right place to do this anyway. Reported-by: Peter Czanik <czanik@balabit.hu> Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 'lib/buffer.c')
0 files changed, 0 insertions, 0 deletions