]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
spelling: fcntl
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 13 Jun 2021 21:33:16 +0000 (17:33 -0400)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 14 Jun 2021 09:29:16 +0000 (11:29 +0200)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
masterdont/server.c

index 05d19b8e9eb5f01aa4c46cef35e80a68bb6e2747..a78ec6c2585777a4d7f63d4a81f66f9c02888a31 100644 (file)
@@ -250,7 +250,7 @@ handle_listen(struct server_info_t *sinfo, struct socket_service* listen_v)
                return;
        }
        if(fcntl(newfd, F_SETFL, O_NONBLOCK) == -1) {
-               printf("Error fnctl: %s\n", strerror(errno));
+               printf("Error fcntl: %s\n", strerror(errno));
                close(newfd);
                return;
        }