]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Typo in comment
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 30 Jul 2025 15:02:07 +0000 (17:02 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Jul 2025 15:02:07 +0000 (17:02 +0200)
Co-authored-by: Doug Freed <dwfreed@mtu.edu>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/rec_channel.cc

index 33f609129ba34cc212f160051ad313435414d9e8..f294db278c52a32196d4c8e54b7297a5b3a05528 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-reinterpret-cast)
 
   if (sendmsg(socket, &msg, 0) == -1) {
     throw PDNSException("Unable to send fd message over control channel: " + stringerror());