From 0cc16d0298995ae4292b0d317e17fa82c338942a Mon Sep 17 00:00:00 2001 From: Binbin Date: Tue, 2 Jul 2024 12:05:21 +0800 Subject: [PATCH] Fix wrong reserved bits in ClientFlags (#729) 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 {