| 423 | } |
| 424 | |
| 425 | int trailer_set_if_missing(enum trailer_if_missing *item, const char *value) |
| 426 | { |
| 427 | if (!value) |
| 428 | *item = MISSING_DEFAULT; |
| 429 | else if (!strcasecmp("doNothing", value)) |
| 430 | *item = MISSING_DO_NOTHING; |
| 431 | else if (!strcasecmp("add", value)) |
| 432 | *item = MISSING_ADD; |
| 433 | else |
| 434 | return -1; |
| 435 | return 0; |
| 436 | } |
| 437 | |
| 438 | static void duplicate_conf(struct conf_info *dst, const struct conf_info *src) |
| 439 | { |
no outgoing calls
no test coverage detected