]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Typo in comment 15949/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 30 Jul 2025 16:05:21 +0000 (18:05 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Jul 2025 16:05:21 +0000 (18:05 +0200)
pdns/recursordist/rec_channel.cc

index f294db278c52a32196d4c8e54b7297a5b3a05528..136e20d31e7321878a426e026fddf9bb070963a1 100644 (file)
@@ -158,7 +158,7 @@ static void sendfd(int socket, int fd_to_pass)
   cmsg->cmsg_len = CMSG_LEN(sizeof(int));
   cmsg->cmsg_level = SOL_SOCKET;
   cmsg->cmsg_type = SCM_RIGHTS;
-  *reinterpret_cast<int*>(CMSG_DATA(cmsg)) = fd_to_pass; // NOLINT(cppcoreguidelines-pro-reinterpret-cast)
+  *reinterpret_cast<int*>(CMSG_DATA(cmsg)) = fd_to_pass; // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)
 
   if (sendmsg(socket, &msg, 0) == -1) {
     throw PDNSException("Unable to send fd message over control channel: " + stringerror());