summaryrefslogtreecommitdiff
path: root/src/notify.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-02-15 21:33:06 +0100
committerantirez <antirez@gmail.com>2018-02-15 21:33:06 +0100
commitf4dc736ccadedefe156a3b9c278e06cb2c55f0a1 (patch)
tree1f8e4b07abb22048c54ffa6b4f0ca0f54225e805 /src/notify.c
parent4f2d279dd704ebf0e9ebab85bc74269b523eda8a (diff)
downloadredis-f4dc736ccadedefe156a3b9c278e06cb2c55f0a1.tar.gz
Fix typo in notifyKeyspaceEvent() comment.
Diffstat (limited to 'src/notify.c')
-rw-r--r--src/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.c b/src/notify.c
index 9bbeb1423..f98cb9204 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -117,7 +117,7 @@ void notifyKeyspaceEvent(int type, char *event, robj *key, int dbid) {
decrRefCount(chanobj);
}
- /* __keyevente@<db>__:<event> <key> notifications. */
+ /* __keyevent@<db>__:<event> <key> notifications. */
if (server.notify_keyspace_events & NOTIFY_KEYEVENT) {
chan = sdsnewlen("__keyevent@",11);
if (len == -1) len = ll2string(buf,sizeof(buf),dbid);