Fix: return size from location deserialization function
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 23 Aug 2018 23:05:52 +0000 (19:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 24 Aug 2018 01:15:18 +0000 (21:15 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/location.c

index 0482c443df5a2c50fc46a886a4f21847198a636c..c71ec8a1b6859240c6d0b15351b39b6d99b674b4 100644 (file)
@@ -199,6 +199,7 @@ ssize_t lttng_trace_archive_location_create_from_buffer(
                goto error;
        }
 
+       return offset;
 error:
        return -1;
 }
This page took 0.026353 seconds and 4 git commands to generate.