2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Refactor dns_name_dup() usage using the semantic patch

This commit is contained in:
Ondřej Surý
2019-11-01 08:31:13 -05:00
committed by Ondřej Surý
parent 21902d0ac7
commit edd97cddc1
28 changed files with 85 additions and 327 deletions

View File

@@ -897,7 +897,7 @@ client_resfind(resctx_t *rctx, dns_fetchevent_t *event) {
ansname = isc_mem_get(mctx, sizeof(*ansname));
dns_name_init(ansname, NULL);
(void)dns_name_dup(aname, mctx, ansname);
dns_name_dup(aname, mctx, ansname);
}
switch (result) {