From: Michal Nowak Date: Mon, 1 Nov 2021 14:40:08 +0000 (+0100) Subject: Fix typo in dns_name_copy-with-result.spatch X-Git-Tag: v9.17.20~8^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0d0dee4af6ac108d0d1e0c3afcbd529fbcfac44;p=thirdparty%2Fbind9.git Fix typo in dns_name_copy-with-result.spatch A typo introduced in f3f1cab05e05c9bdd5da91f3ab159ec6658ec7f4 prevents execution of the dns_name_copy-with-result.spatch. The replacement should end with semicolon not a colon: plus: parse error: File "cocci/dns_name_copy-with-result.spatch", line 28, column 23, charpos = 421 around = ':', whole content = + dns_name_copy(E1, E2): --- diff --git a/cocci/dns_name_copy-with-result.spatch b/cocci/dns_name_copy-with-result.spatch index 129d421d672..f3313b7672f 100644 --- a/cocci/dns_name_copy-with-result.spatch +++ b/cocci/dns_name_copy-with-result.spatch @@ -25,6 +25,6 @@ statement S1, S2; - V = dns_name_copy(E1, E2, NULL); - S1 - if (V == ISC_R_SUCCESS) S2 -+ dns_name_copy(E1, E2): ++ dns_name_copy(E1, E2); + S1 + S2