From 1221b3951ae4faf49923dfbb623a7aca6ccf9b26 Mon Sep 17 00:00:00 2001 From: Vitah Lin Date: Mon, 15 Apr 2024 19:45:00 +0800 Subject: [PATCH] Fix typo in comment (#318) Signed-off-by: Vitah Lin --- src/networking.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/networking.c b/src/networking.c index 2d94e532d..25b9f096e 100644 --- a/src/networking.c +++ b/src/networking.c @@ -64,7 +64,7 @@ size_t getStringObjectSdsUsedMemory(robj *o) { } /* Return the length of a string object. - * This does NOT includes internal fragmentation or sds unused space. */ + * This does NOT include internal fragmentation or sds unused space. */ size_t getStringObjectLen(robj *o) { serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); switch(o->encoding) { @@ -98,8 +98,7 @@ void linkClient(client *c) { raxInsert(server.clients_index,(unsigned char*)&id,sizeof(id),c,NULL); } -/* Initialize client authentication state. - */ +/* Initialize client authentication state. */ static void clientSetDefaultAuth(client *c) { /* If the default user does not require authentication, the user is * directly authenticated. */