summaryrefslogtreecommitdiff
path: root/idle.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-11 12:29:43 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-11 12:29:43 +0200
commitca46c321915798818d6716fb5c2be9f538f2e722 (patch)
tree2829c64a3ac37bb43133bc7cf8bd7b8dccc31048 /idle.c
parentc07081da8f8faa400e28c3febcfb38430ec5d0ad (diff)
Add some socket options to minecraft protocol sockets
Diffstat (limited to 'idle.c')
-rw-r--r--idle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/idle.c b/idle.c
index 3fddf79..8f2530a 100644
--- a/idle.c
+++ b/idle.c
@@ -361,6 +361,8 @@ again:
goto again;
}
+ socket_set_gaming_options(cfg, sfd);
+
uring_task_set_fd(&idle->idlecheck, sfd);
uring_connect(cfg, &idle->idlecheck, &idle->remote, idle_check_remote_connected);
}