diff options
author | Rob Landley <rob@landley.net> | 2012-05-09 06:11:23 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-05-09 06:11:23 -0500 |
commit | 4d0f02f30b8ecf207cfb812af83f6ab4e26f5497 (patch) | |
tree | 9bdb3e4c631d58fb1888b744da369700ccd638d3 /lib | |
parent | d6f7e788ac34c05f7be31a8eb751b7595d48ec0a (diff) | |
download | toybox-4d0f02f30b8ecf207cfb812af83f6ab4e26f5497.tar.gz |
Whitespace (tabs vs spaces) cleanup.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dirtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dirtree.c b/lib/dirtree.c index 0e2a385c..aa3ab76b 100644 --- a/lib/dirtree.c +++ b/lib/dirtree.c @@ -59,9 +59,9 @@ char *dirtree_path(struct dirtree *node, int *plen) len = (plen ? *plen : 0)+strlen(node->name)+1; path = dirtree_path(node->parent, &len); - if (len) path[len++]='/'; + if (len) path[len++]='/'; len = (stpcpy(path+len, node->name) - path); - if (plen) *plen = len; + if (plen) *plen = len; return path; } |