summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2020-12-16 16:19:12 -0500
committerGitHub <noreply@github.com>2020-12-16 23:19:12 +0200
commit4f67d0b647caba9fa301a1a604214c0ecc40940a (patch)
tree8827f82028b82cf95b03f13a090a12edf96c0d9e /src
parent1f42bd70572c8e85fa431a66952c7b79eb182a87 (diff)
downloadredis-4f67d0b647caba9fa301a1a604214c0ecc40940a.tar.gz
fix wrong comment in cluster.h (#8191)
Diffstat (limited to 'src')
-rw-r--r--src/cluster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.h b/src/cluster.h
index 7e5f79c87..d58f350ce 100644
--- a/src/cluster.h
+++ b/src/cluster.h
@@ -40,7 +40,7 @@ typedef struct clusterLink {
sds sndbuf; /* Packet send buffer */
char *rcvbuf; /* Packet reception buffer */
size_t rcvbuf_len; /* Used size of rcvbuf */
- size_t rcvbuf_alloc; /* Used size of rcvbuf */
+ size_t rcvbuf_alloc; /* Allocated size of rcvbuf */
struct clusterNode *node; /* Node related to this link if any, or NULL */
} clusterLink;