Rewrite an octal option. */
| 1603 | |
| 1604 | /* Rewrite an octal option. */ |
| 1605 | void rewriteConfigOctalOption(struct rewriteConfigState *state, const char *option, int value, int defvalue) { |
| 1606 | int force = value != defvalue; |
| 1607 | sds line = sdscatprintf(sdsempty(),"%s %o",option,value); |
| 1608 | |
| 1609 | rewriteConfigRewriteLine(state,option,line,force); |
| 1610 | } |
| 1611 | |
| 1612 | /* Rewrite an enumeration option. It takes as usually state and option name, |
| 1613 | * and in addition the enumeration array and the default value for the |
no test coverage detected