diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-14 18:12:00 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-14 20:02:16 -0700 |
commit | af308395c6cea756c9911865137ed29e0fb34aae (patch) | |
tree | e796e418177f588824616ad7431d86a3db415ba6 /lib9p/srv.c | |
parent | 4e987e1b1e0aef7dc0ab634fd65b9e04969eb9c9 (diff) |
lib9p: idl: .u: Pull out an `nuid` type
Diffstat (limited to 'lib9p/srv.c')
-rw-r--r-- | lib9p/srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |