mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-29 10:59:35 -05:00
use the ++.
git-svn-id: file:///svn/unbound/trunk@2597 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b54efa5c69
commit
71e85ee6fb
1 changed files with 1 additions and 2 deletions
|
|
@ -417,8 +417,7 @@ int config_set_option(struct config_file* cfg, const char* opt,
|
|||
memmove(oi, cfg->out_ifs, cfg->num_out_ifs*sizeof(char*));
|
||||
free(cfg->out_ifs);
|
||||
}
|
||||
oi[cfg->num_out_ifs] = d;
|
||||
cfg->num_out_ifs++;
|
||||
oi[cfg->num_out_ifs++] = d;
|
||||
cfg->out_ifs = oi;
|
||||
} else {
|
||||
/* unknown or unsupported (from the set_option interface):
|
||||
|
|
|
|||
Loading…
Reference in a new issue