ctdb:tcp: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Wed, 22 Mar 2023 08:40:05 +0000 (09:40 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 24 Mar 2023 07:01:31 +0000 (07:01 +0000)
Best reviewed with: `git show --word-diff`

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
ctdb/tcp/tcp_connect.c

index f7703b77f0dfd9c815a6c349ce7205207d9b7367..6f5862af5998ea708966f26cac22561da1dd2b5e 100644 (file)
@@ -413,7 +413,7 @@ static int ctdb_tcp_listen_automatic(struct ctdb_context *ctdb)
        }
 
        /* in order to ensure that we don't get two nodes with the
-          same adddress, we must make the bind() and listen() calls
+          same address, we must make the bind() and listen() calls
           atomic. The SO_REUSEADDR setsockopt only prevents double
           binds if the first socket is in LISTEN state  */
        lock_fd = open(lock_path, O_RDWR|O_CREAT, 0666);