Fix: remove adjustment on written var for metadata
authorDavid Goulet <dgoulet@efficios.com>
Tue, 14 Aug 2012 17:12:24 +0000 (13:12 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 14 Aug 2012 17:21:03 +0000 (13:21 -0400)
commit09e26845dd435a5975299a380847dad06e0a6836
treebed8216e95c7745afa00ba8bfe6f4097de75ae8e
parent88927b06680173853f246bb02c0a00fe57cf7161
Fix: remove adjustment on written var for metadata

This was generating the following error each time metadata was streamed
over the network.

    Error: Error writing to tracefile

The return value was off by 8 bytes which is the header stream id size.
However, the "written" variable is not used in the metadata command to
the relayd so there is no use of updating it to fit the expected len of
the mmap() caller.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
This page took 0.024496 seconds and 4 git commands to generate.