projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: make sure we can exit the get_new_metadata loop
[babeltrace.git]
/
formats
/
lttng-live
/
lttng-live-comm.c
diff --git
a/formats/lttng-live/lttng-live-comm.c
b/formats/lttng-live/lttng-live-comm.c
index 238cafdd002360a51ccb82c72fb3addebec5dabd..31cafd78b30480f9ed05e3568e7360817341df06 100644
(file)
--- a/
formats/lttng-live/lttng-live-comm.c
+++ b/
formats/lttng-live/lttng-live-comm.c
@@
-909,6
+909,10
@@
int get_new_metadata(struct lttng_live_ctx *ctx,
}
do {
+ if (lttng_live_should_quit()) {
+ ret = -1;
+ goto error;
+ }
/*
* get_one_metadata_packet returns the number of bytes
* received, 0 when we have received everything, a
This page took
0.025061 seconds
and
4
git commands to generate.