mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-23 18:24:58 +02:00
use the ++.
git-svn-id: file:///svn/unbound/trunk@2597 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+1
-2
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user