summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorWeiliang Li <liweiliang@cmss.chinamobile.com>2018-11-15 16:55:40 +0800
committerWeiliang Li <liweiliang@cmss.chinamobile.com>2018-11-15 16:55:40 +0800
commitcabc06076bcdb51d01be0e9596c2bc3241535b94 (patch)
tree177c9c2d7ec5ca70ebb13739acae75d8094dca6b /src/util.c
parent7721fe83e92dee581f8703e178f8368dce86abdf (diff)
downloadredis-cabc06076bcdb51d01be0e9596c2bc3241535b94.tar.gz
fix comment typo in util.c
fix comment typo in util.c
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 80b460bc2..430cbe61a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -606,7 +606,7 @@ void getRandomHexChars(char *p, size_t len) {
* already, this will be detected and handled correctly.
*
* The function does not try to normalize everything, but only the obvious
- * case of one or more "../" appearning at the start of "filename"
+ * case of one or more "../" appearing at the start of "filename"
* relative path. */
sds getAbsolutePath(char *filename) {
char cwd[1024];