summaryrefslogtreecommitdiffstats
path: root/daemon/io.c
diff options
context:
space:
mode:
authorLukáš Ondráček <lukas.ondracek@nic.cz>2024-11-28 12:45:29 +0100
committerLukáš Ondráček <lukas.ondracek@nic.cz>2024-11-28 12:45:29 +0100
commitf80a872ca591133bda33b42dfa00286bb095b073 (patch)
treedd9282307100af752a5325a33142aae0d4dfa633 /daemon/io.c
parentdaemon/defer: fix using src_addr instead of comm_addr (diff)
downloadknot-resolver-f80a872ca591133bda33b42dfa00286bb095b073.tar.xz
knot-resolver-f80a872ca591133bda33b42dfa00286bb095b073.zip
daemon/defer: minor changes
Diffstat (limited to 'daemon/io.c')
-rw-r--r--daemon/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/io.c b/daemon/io.c
index 02ebd5b4..8093a4b0 100644
--- a/daemon/io.c
+++ b/daemon/io.c
@@ -379,7 +379,7 @@ static void tcp_recv(uv_stream_t *handle, ssize_t nread, const uv_buf_t *buf)
static void tcp_accept_internal(uv_stream_t *master, int status, enum kr_proto grp)
{
- if (status != 0) {
+ if (status != 0) {
return;
}