Skip to content

Commit

Permalink
Fix wrong reserved bits in ClientFlags (#729)
Browse files Browse the repository at this point in the history
The bits should be 10, it causes ClientFlags to consume 8 more bytes now.
Introduced in #614.

Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin authored Jul 2, 2024
1 parent fa01a29 commit 0cc16d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0cc16d0

Please sign in to comment.