diag: update bluelib api usage
This commit is contained in:
@@ -52,11 +52,12 @@ void ivy_diag_ctx_write(
|
||||
struct ivy_diag_ctx *ctx, enum ivy_diag_format format,
|
||||
struct ivy_diag_stream *stream)
|
||||
{
|
||||
b_queue_iterator it;
|
||||
b_queue_foreach (&it, &ctx->ctx_diags) {
|
||||
b_queue_entry *entry = b_queue_first(&ctx->ctx_diags);
|
||||
while (entry) {
|
||||
struct ivy_diag *diag
|
||||
= b_unbox(struct ivy_diag, it.entry, diag_entry);
|
||||
= b_unbox(struct ivy_diag, entry, diag_entry);
|
||||
diag_write(ctx, diag, format, stream);
|
||||
entry = b_queue_next(entry);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user