summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/util.h b/include/util.h
index 28d21bc..d5b20dd 100644
--- a/include/util.h
+++ b/include/util.h
@@ -6,9 +6,9 @@
#include <stdint.h>
/*
- Removes all preceeding and trailing slashes, shortens all sequences of
- slashes to a single slash and returns failure state if one of the path
- components is '..' or '.'.
+ Convert back to forward slashed, remove all preceeding and trailing slashes,
+ collapse all sequences of slashes, remove all path components that are '.'
+ and returns failure state if one of the path components is '..'.
Returns 0 on success.
*/