lib: msg. iter. inactivity message has a simple CS, not a default CS
[babeltrace.git] / src / lib / graph / iterator.c
index 615373196063f1b9b53243a61412edf6cf609830..5b2ebfbdacaa43c0c45c0fc525343688cac97018 100644 (file)
@@ -563,7 +563,7 @@ bool clock_snapshots_are_monotonic_one(
        {
                struct bt_message_message_iterator_inactivity *inactivity_msg =
                        (struct bt_message_message_iterator_inactivity *) msg;
-               clock_snapshot = inactivity_msg->default_cs;
+               clock_snapshot = inactivity_msg->cs;
                break;
        }
        case BT_MESSAGE_TYPE_PACKET_BEGINNING:
@@ -1261,7 +1261,7 @@ int auto_seek_handle_message(
                const struct bt_message_message_iterator_inactivity *inactivity_msg =
                        (const void *) msg;
 
-               clk_snapshot = inactivity_msg->default_cs;
+               clk_snapshot = inactivity_msg->cs;
                BT_ASSERT_DBG(clk_snapshot);
                break;
        }
This page took 0.023928 seconds and 4 git commands to generate.