X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fiterator.c;h=a7c9ea17ea9ca0cb2017879ee6da1b79391edeaf;hb=b9fd9cbba60297c02bea7473d4347c588d9724d7;hp=c97ec94d94953ce2247fe3900da9864070b19c13;hpb=0c5e21000b711a86f360fc29220ea6d6b6b830fa;p=babeltrace.git diff --git a/lib/graph/iterator.c b/lib/graph/iterator.c index c97ec94d..a7c9ea17 100644 --- a/lib/graph/iterator.c +++ b/lib/graph/iterator.c @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include #include #include @@ -1003,9 +1003,9 @@ int get_message_ns_from_origin(const struct bt_message *msg, event_msg); break; } - case BT_MESSAGE_TYPE_INACTIVITY: + case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY: { - const struct bt_message_inactivity *inactivity_msg = + const struct bt_message_message_iterator_inactivity *inactivity_msg = (const void *) msg; clk_snapshot = inactivity_msg->default_cs; @@ -1174,7 +1174,7 @@ enum bt_message_iterator_status find_message_ge_ns_from_origin( * Find first message which has a default clock snapshot * that is greater than or equal to the requested value. * - * For event and inactivity messages, compare with the + * For event and message iterator inactivity messages, compare with the * default clock snapshot. * * For packet beginning messages, compare with the