projects
/
rrq
/
fuse_xattrs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't add trailing / for root paths
[rrq/fuse_xattrs.git]
/
fuse_xattrs.c
diff --git
a/fuse_xattrs.c
b/fuse_xattrs.c
index 94126dc3fe0158e4c1f0885c256740d1f7afc3da..335f1c29069f878078278335370112ad8b7c9cbd 100644
(file)
--- a/
fuse_xattrs.c
+++ b/
fuse_xattrs.c
@@
-206,8
+206,8
@@
const char *sanitized_source_directory(const char *path) {
return NULL; // Path badness
}
- // A
ppend "/" and a
llocate new memory for the string
- return strdup(
strcat( absolute_path, "/" )
);
+ // Allocate new memory for the string
+ return strdup(
absolute_path
);
}
enum {