diff options
Diffstat (limited to 'lib/dirtree.c')
-rw-r--r-- | lib/dirtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirtree.c b/lib/dirtree.c index b64dfaf5..d56a5dcb 100644 --- a/lib/dirtree.c +++ b/lib/dirtree.c @@ -14,7 +14,7 @@ struct dirtree *dirtree_add_node(char *path) char *name; // Find last chunk of name. - + for (;;) { name = strrchr(path, '/'); |