Skip to content

Commit

Permalink
Update thr format
Browse files Browse the repository at this point in the history
Signed-off-by: Shivshankar-Reddy <[email protected]>
  • Loading branch information
Shivshankar-Reddy committed May 31, 2024
1 parent 12b934d commit 0f728a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1371,8 +1371,7 @@ void rewriteConfigSaveOption(standardConfig *config, const char *name, struct re
} else {
line = sdsnew(name);
for (j = 0; j < server.saveparamslen; j++) {
line = sdscatprintf(line, " %ld %d", (long)server.saveparams[j].seconds,
server.saveparams[j].changes);
line = sdscatprintf(line, " %ld %d", (long)server.saveparams[j].seconds, server.saveparams[j].changes);
}
rewriteConfigRewriteLine(state, name, line, 1);
}
Expand Down

0 comments on commit 0f728a6

Please sign in to comment.