summaryrefslogtreecommitdiffstats
path: root/cocci/dns_name_copynf.spatch
blob: 7853b679e07c0b49264775e60937b51fd389639b (plain)
1
2
3
4
5
6
@@
expression E1, E2;
@@

- RUNTIME_CHECK(dns_name_copy(E1, E2, NULL) == ISC_R_SUCCESS);
+ dns_name_copynf(E1, E2);