From 68551de565b3b1689f41421303bdeca5eb934b97 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Sun, 10 Nov 2024 20:45:37 +0900 Subject: [PATCH] Fix typo in impl. of `--generate-dir=` --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index cf1ce8f..9a8f63a 100644 --- a/src/main.c +++ b/src/main.c @@ -356,7 +356,7 @@ int generate_paths_fn(const void *key, } // Append the path. - if (strcmp("path", "/") != 0) { + if (strcmp(path, "/") != 0) { // Is not root. uint32_t idx = 0; while (idx <= path_len && path[idx] == '/') {