projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: notification iterator: transfer a batch of notifications
[babeltrace.git]
/
plugins
/
ctf
/
common
/
notif-iter
/
notif-iter.c
diff --git
a/plugins/ctf/common/notif-iter/notif-iter.c
b/plugins/ctf/common/notif-iter/notif-iter.c
index 4ab01c4ea1b501a99944498511dc4edacba8f6b0..fc9bccc2c1eef88d9e7c93feb9df32c5d590d3ef 100644
(file)
--- a/
plugins/ctf/common/notif-iter/notif-iter.c
+++ b/
plugins/ctf/common/notif-iter/notif-iter.c
@@
-3138,7
+3138,8
@@
enum bt_notif_iter_status bt_notif_iter_get_next_notification(
goto end;
}
- BT_MOVE(*notification, notit->event_notif);
+ *notification = notit->event_notif;
+ notit->event_notif = NULL;
goto end;
case STATE_EMIT_NOTIF_END_OF_PACKET:
/* Update clock with timestamp_end field. */
This page took
0.023596 seconds
and
4
git commands to generate.