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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user