From cd9667d6be072a9c736e49c679b55852f7b30a6c Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 12 Jan 2025 23:08:14 -0700 Subject: lib9p: Don't nul-terminate strings, add some string utils --- lib9p/tests/test_server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib9p/tests/test_server/main.c') 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; } -- cgit v1.2.3-2-g168b