summaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-20 02:16:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-20 02:16:44 +0200
commit8c705b9cd4c7866227f09af2a859744e47602ba4 (patch)
tree9b75234454e0611c484265698011b5df832d893c /src/socket.c
parent0bf9268453d3af82bbd1257da547b1dd8f225ba2 (diff)
downloadfastd-8c705b9cd4c7866227f09af2a859744e47602ba4.tar
fastd-8c705b9cd4c7866227f09af2a859744e47602ba4.zip
Minimize poll interface to simplify implementation of alternative implementations
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)