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

index da4bd650837a3cfc5b18f663936fe9d4e8b123a6..59d76800f9021aaa708c5f3e55fb3db3cbb8baa7 100644 (file)
--- a/lua/lua.c
+++ b/lua/lua.c
@@ -288,7 +288,7 @@ l_server_socket_udp(lua_State *L)
        timeout.tv_sec = LDNS_DEFAULT_TIMEOUT_SEC;
        timeout.tv_usec = LDNS_DEFAULT_TIMEOUT_USEC;
 
-       /* socklen isn't really usefull here */
+       /* socklen isn't really useful here */
        to = ldns_rdf2native_sockaddr_storage(ip, port, &socklen);
        if (!to) {
                return 0;
@@ -321,7 +321,7 @@ l_client_socket_udp(lua_State *L)
        timeout.tv_sec = LDNS_DEFAULT_TIMEOUT_SEC;
        timeout.tv_usec = LDNS_DEFAULT_TIMEOUT_USEC;
 
-       /* socklen isn't really usefull here */
+       /* socklen isn't really useful here */
        to = ldns_rdf2native_sockaddr_storage(ip, port, &socklen);
        if (!to) {
                return 0;