aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path.c b/src/path.c
index 600660abc..5877d795e 100644
--- a/src/path.c
+++ b/src/path.c
@@ -281,12 +281,12 @@ char *sanitizePathDup(char *path)
len = 0;
- /* illeminate more than one '/' in a row, like "///" */
+ /* eliminate more than one '/' in a row, like "///" */
while (*path) {
while (*path == '/')
path++;
if (*path == '.') {
- /* we dont want to have hidden directoires, or '.' or
+ /* we don't want to have hidden directories, or '.' or
".." in our path */
free(ret);
return NULL;