Rewrite an octal option. */
| 1352 | |
| 1353 | /* Rewrite an octal option. */ |
| 1354 | void rewriteConfigOctalOption(struct rewriteConfigState *state, char *option, int value, int defvalue) { |
| 1355 | int force = value != defvalue; |
| 1356 | sds line = sdscatprintf(sdsempty(),"%s %o",option,value); |
| 1357 | |
| 1358 | rewriteConfigRewriteLine(state,option,line,force); |
| 1359 | } |
| 1360 | |
| 1361 | /* Rewrite an enumeration option. It takes as usually state and option name, |
| 1362 | * and in addition the enumeration array and the default value for the |
no test coverage detected