summaryrefslogtreecommitdiff
path: root/src/redismodule.h
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-05-18 13:29:39 +0800
committerGitHub <noreply@github.com>2022-05-18 08:29:39 +0300
commit60250f50c2f308d301fb0bfcb6d07faa2560ce60 (patch)
tree3f2804fae5ccf5ed9e01f15d3903d344b6fc16c1 /src/redismodule.h
parentf62d52a5ad794513ca21168becfd06c532d2b704 (diff)
downloadredis-60250f50c2f308d301fb0bfcb6d07faa2560ce60.tar.gz
Fix typos in module comment / documentation (#10740)
minor cleanup in redismodule.h and module.c
Diffstat (limited to 'src/redismodule.h')
-rw-r--r--src/redismodule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redismodule.h b/src/redismodule.h
index c78b80252..86c0169be 100644
--- a/src/redismodule.h
+++ b/src/redismodule.h
@@ -249,7 +249,7 @@ typedef uint64_t RedisModuleTimerID;
/* When set, Redis will not call RedisModule_SignalModifiedKey(), implicitly in
* RedisModule_CloseKey, and the module needs to do that when manually when keys
- * are modified from the user's sperspective, to invalidate WATCH. */
+ * are modified from the user's perspective, to invalidate WATCH. */
#define REDISMODULE_OPTION_NO_IMPLICIT_SIGNAL_MODIFIED (1<<1)
/* Declare that the module can handle diskless async replication with RedisModule_SetModuleOptions. */
@@ -347,7 +347,7 @@ typedef struct {
const char *keyword;
/* An index in argv from which to start searching.
* Can be negative, which means start search from the end, in reverse
- * (Example: -2 means to start in reverse from the panultimate arg) */
+ * (Example: -2 means to start in reverse from the penultimate arg) */
int startfrom;
} keyword;
} bs;