summaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 6db4b9f..a1e0d02 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -196,7 +196,7 @@ bool fastd_socket_handle_binds(fastd_context_t *ctx) {
continue;
}
- fastd_poll_set_fd_sock(ctx, ctx->socks[i].fd, i);
+ fastd_poll_set_fd_sock(ctx, i);
fastd_peer_address_t bound_addr = *ctx->socks[i].bound_addr;
if (!ctx->socks[i].addr->addr.sa.sa_family)