From: Jérémie Galarneau Date: Thu, 23 Aug 2018 23:05:52 +0000 (-0400) Subject: Fix: return size from location deserialization function X-Git-Tag: v2.11.0-rc1~114 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e4b6e50fe0e6da9fbd74fb10c38fbdf0ba75b1c7;p=lttng-tools.git Fix: return size from location deserialization function Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/location.c b/src/common/location.c index 0482c443d..c71ec8a1b 100644 --- a/src/common/location.c +++ b/src/common/location.c @@ -199,6 +199,7 @@ ssize_t lttng_trace_archive_location_create_from_buffer( goto error; } + return offset; error: return -1; }