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] == '/') {