diff options
Diffstat (limited to 'lib9p/core.c')
-rw-r--r-- | lib9p/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib9p/core.c b/lib9p/core.c index 995808f..942db05 100644 --- a/lib9p/core.c +++ b/lib9p/core.c @@ -103,11 +103,11 @@ const char *lib9p_msgtype_str(enum lib9p_version ver, enum lib9p_msg_type typ) { /* main message functions *****************************************************/ void fmt_print_lib9p_msg(lo_interface fmt_dest w, struct lib9p_ctx *ctx, enum lib9p_msg_type typ, void *body) { - assert(ctx); - assert_ver(ctx->version); - assert_typ(typ); - assert(_lib9p_table_msg[ctx->version][typ].print); - _lib9p_table_msg[ctx->version][typ].print(w, ctx, body); + assert(ctx); + assert_ver(ctx->version); + assert_typ(typ); + assert(_lib9p_table_msg[ctx->version][typ].print); + _lib9p_table_msg[ctx->version][typ].print(w, ctx, body); } #define _lib9p_validate(LOW_TYP_BIT, ERRMSG, TABLE) do { \ |