projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: use stream's current tracefile count rather than the max
[lttng-tools.git]
/
src
/
common
/
location.c
diff --git
a/src/common/location.c
b/src/common/location.c
index c71ec8a1b6859240c6d0b15351b39b6d99b674b4..241b6486ed10ca4e23ceb118cac3e23e86142723 100644
(file)
--- a/
src/common/location.c
+++ b/
src/common/location.c
@@
-211,7
+211,6
@@
ssize_t lttng_trace_archive_location_serialize(
{
int ret;
struct lttng_trace_archive_location_comm location_comm;
{
int ret;
struct lttng_trace_archive_location_comm location_comm;
- const size_t original_buffer_size = buffer->size;
location_comm.type = (int8_t) location->type;
location_comm.type = (int8_t) location->type;
@@
-269,7
+268,7
@@
ssize_t lttng_trace_archive_location_serialize(
abort();
}
abort();
}
- return
buffer->size - original_buffer_size
;
+ return
0
;
error:
return -1;
}
error:
return -1;
}
This page took
0.024588 seconds
and
4
git commands to generate.