diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-12 23:08:14 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-19 15:43:29 -0700 |
commit | cd9667d6be072a9c736e49c679b55852f7b30a6c (patch) | |
tree | c99c10d4c0caea96cc5a5420532eccaa60efe976 /lib9p/tests/test_server/main.c | |
parent | 6381e08fd03e322d7d95973ca00c5605afb67707 (diff) |
lib9p: Don't nul-terminate strings, add some string utils
Diffstat (limited to 'lib9p/tests/test_server/main.c')
-rw-r--r-- | lib9p/tests/test_server/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/tests/test_server/main.c b/lib9p/tests/test_server/main.c index a6e4eeb..8e5011a 100644 --- a/lib9p/tests/test_server/main.c +++ b/lib9p/tests/test_server/main.c @@ -78,7 +78,7 @@ static struct util9p_static_dir root = { }, }; -static implements_lib9p_srv_file *get_root(struct lib9p_srv_ctx *LM_UNUSED(ctx), char *LM_UNUSED(treename)) { +static implements_lib9p_srv_file *get_root(struct lib9p_srv_ctx *LM_UNUSED(ctx), struct lib9p_s LM_UNUSED(treename)) { return &root; } |