From 7dc534e7c7ac4fa25a21b06f9fde00c6bdcdc6e0 Mon Sep 17 00:00:00 2001 From: Binbin Date: Tue, 2 Jul 2024 11:20:40 +0800 Subject: [PATCH] Fix wrong reserved bits in ClientFlags The bits should be 10, it causes ClientFlags to consume 8 more bytes now. Introduced in #614. Signed-off-by: Binbin --- src/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.h b/src/server.h index 1bdab048ca..73f68a73d4 100644 --- a/src/server.h +++ b/src/server.h @@ -1173,7 +1173,7 @@ typedef struct ClientFlags { uint64_t reprocessing_command : 1; /* The client is re-processing the command. */ uint64_t replication_done : 1; /* Indicate that replication has been done on the client */ uint64_t authenticated : 1; /* Indicate a client has successfully authenticated */ - uint64_t reserved : 11; /* Reserved for future use */ + uint64_t reserved : 10; /* Reserved for future use */ } ClientFlags; typedef struct client {