Skip to content

Commit

Permalink
Fix wrong repldboff type which causes dropped replication in rare cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
yossigo committed Dec 24, 2012
1 parent 4468ba2 commit 63627df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redis.h
Expand Up @@ -399,7 +399,7 @@ typedef struct redisClient {
int authenticated; /* when requirepass is non-NULL */
int replstate; /* replication state if this is a slave */
int repldbfd; /* replication DB file descriptor */
long repldboff; /* replication DB file offset */
off_t repldboff; /* replication DB file offset */
off_t repldbsize; /* replication DB file size */
int slave_listening_port; /* As configured with: SLAVECONF listening-port */
multiState mstate; /* MULTI/EXEC state */
Expand Down

0 comments on commit 63627df

Please sign in to comment.