client: correct interface style

This commit is contained in:
Thomas Schoebel-Theuer 2023-02-19 23:37:29 +01:00 committed by Thomas Schoebel-Theuer
parent da720955e4
commit fe62187072

View File

@ -524,7 +524,8 @@ static int client_ref_get(struct client_output *output, struct mref_object *mref
if (!mref_a)
return -EILSEQ;
mref->ref_data = brick_block_alloc(mref->ref_pos, (mref_a->alloc_len = mref->ref_len));
mref_a->alloc_len = mref->ref_len;
mref->ref_data = brick_block_alloc(mref->ref_pos, mref->ref_len);
mref_a->do_dealloc = true;
}