Fix: Overwrite of ret in relay_recv_metadata
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 5 Sep 2015 15:57:52 +0000 (11:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 13:32:47 +0000 (09:32 -0400)
commit7fcdafc990481437561b620696c3409b9989cf2b
treebb278908c2e9c9aef38029d0cc145bb0f20974f2
parenta08107cc300e4f8ce59004d0027198e93191c3a1
Fix: Overwrite of ret in relay_recv_metadata

relay_recv_metadata() interchangeably uses ret and size_ret.
This causes ret to take various (positive) values in case
of success, most often corresponding to the size of the metadata
padding which was written during the call.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c
This page took 0.024902 seconds and 4 git commands to generate.