diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-06 23:57:00 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-06 23:57:00 -0600 |
commit | 53d0b11262177cd212803fc9330e055871c348b3 (patch) | |
tree | ad09857ab8b7a1e0f8c5bddd2b7af0bf093275cc /lib9p/tests/testclient-hangup.c | |
parent | b5a29a4c57f09ed11b4591f99493fd57fdcee593 (diff) | |
parent | b85e2a4c1bc272cb6ede732751beb55906f7e298 (diff) |
Diffstat (limited to 'lib9p/tests/testclient-hangup.c')
-rw-r--r-- | lib9p/tests/testclient-hangup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/tests/testclient-hangup.c b/lib9p/tests/testclient-hangup.c index a819e80..2efb49a 100644 --- a/lib9p/tests/testclient-hangup.c +++ b/lib9p/tests/testclient-hangup.c @@ -24,8 +24,8 @@ static void _send9p(int fd, struct lib9p_ctx *ctx, enum lib9p_msg_type typ, void *body) { struct lib9p_Tmsg_send_buf buf; - bool err = lib9p_Tmsg_marshal(ctx, typ, body, &buf); - assert(!err); + error err = lib9p_Tmsg_marshal(ctx, typ, body, &buf); + assert(ERROR_IS_NULL(err)); size_t exp = 0; for (size_t i = 0; i < buf.iov_cnt; i++) exp += buf.iov[i].iov_len; |