summaryrefslogtreecommitdiff
path: root/src/networking.c
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-03-16 14:50:32 +0800
committerGitHub <noreply@github.com>2023-03-16 08:50:32 +0200
commit0b159b34ea0832f6589b8ee71b44dce7010e7504 (patch)
tree0b61a7a130b63dc6612348c37d3a1ac308276b1c /src/networking.c
parentf8a5a4f70ccada85943af90f6f2db3250ee50b27 (diff)
downloadredis-0b159b34ea0832f6589b8ee71b44dce7010e7504.tar.gz
Bump codespell to 2.2.4, fix typos and outupdated comments (#11911)
Fix some seen typos and wrong comments.
Diffstat (limited to 'src/networking.c')
-rw-r--r--src/networking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c
index e8f8f93d2..9f54449c1 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -2458,7 +2458,7 @@ int processPendingCommandAndInputBuffer(client *c) {
/* Now process client if it has more data in it's buffer.
*
* Note: when a master client steps into this function,
- * it can always satisfy this condition, because its querbuf
+ * it can always satisfy this condition, because its querybuf
* contains data not applied. */
if (c->querybuf && sdslen(c->querybuf) > 0) {
return processInputBuffer(c);
@@ -4071,7 +4071,7 @@ static inline void setIOPendingCount(int i, unsigned long count) {
}
void *IOThreadMain(void *myid) {
- /* The ID is the thread number (from 0 to server.iothreads_num-1), and is
+ /* The ID is the thread number (from 0 to server.io_threads_num-1), and is
* used by the thread to just manipulate a single sub-array of clients. */
long id = (unsigned long)myid;
char thdname[16];