Fix typo in impl. of --generate-dir=<DIR>
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 21s

This commit is contained in:
Stephen Seo 2024-11-10 20:45:37 +09:00
parent de2d15033e
commit 68551de565

View file

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