From af308395c6cea756c9911865137ed29e0fb34aae Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 14 Jan 2025 18:12:00 -0700 Subject: lib9p: idl: .u: Pull out an `nuid` type --- lib9p/srv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib9p/srv.c') diff --git a/lib9p/srv.c b/lib9p/srv.c index e7fdb03..259ef04 100644 --- a/lib9p/srv.c +++ b/lib9p/srv.c @@ -510,7 +510,7 @@ static void handle_Tauth(struct _lib9p_srv_req *ctx, struct lib9p_msg_Rauth *resp) { util_handler_common(ctx, req, resp); - ctx->ctx.uid = req->n_uname; + ctx->ctx.uid = req->n_uid; ctx->ctx.uname = req->uname.utf8; struct lib9p_srv *srv = ctx->parent_sess->parent_conn->parent_srv; @@ -530,7 +530,7 @@ static void handle_Tattach(struct _lib9p_srv_req *ctx, struct lib9p_msg_Rattach *resp) { util_handler_common(ctx, req, resp); - ctx->ctx.uid = req->n_uname; + ctx->ctx.uid = req->n_uid; ctx->ctx.uname = req->uname.utf8; struct lib9p_srv *srv = ctx->parent_sess->parent_conn->parent_srv; -- cgit v1.2.3-2-g168b