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 <binloveplay1314@qq.com>
This commit is contained in:
Binbin 2024-07-02 12:05:21 +08:00 committed by GitHub
parent fa01a29365
commit 0cc16d0298
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {