Skip to content

Commit

Permalink
Update src/cluster.c
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Svensson <[email protected]>
  • Loading branch information
bjosv authored Oct 28, 2024
1 parent a091722 commit 4437c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ static int parse_cluster_nodes_line(valkeyClusterContext *cc, char *line,
int i = 0;
while ((p = strchr(line, ' ')) != NULL) {
*p = '\0';
switch (i++){
switch (i++) {
case 0: id = line; break;
case 1: addr = line; break;
case 2: flags = line; break;
Expand Down

0 comments on commit 4437c88

Please sign in to comment.