From 26b7fbf2c0a7ef9185b51948ae930d6e8a8a6a49 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Mon, 13 Feb 2023 20:50:16 -0800 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mina Galić --- server/identification.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/identification.ts b/server/identification.ts index 7362ef9a..48b88c59 100644 --- a/server/identification.ts +++ b/server/identification.ts @@ -120,9 +120,9 @@ class Identification { if (!connection.socket.remotePort || !connection.socket.localPort) { // Race condition: this can happen when more than one socket gets disconnected at // once, since we `refresh()` for each one being added/removed. This results - // in there possibly be one or more disconnected sockets remaining when we get here. + // in there possibly being one or more disconnected sockets remaining when we get here. // - // Simply skip this socket and not crash the server. + // Simply skip this socket and do not crash the server. log.warn("oidentd: socket has no remote or local port?"); return; }