MINOR: sock: make sock_find_compatible_fd() only take a receiver
We don't need to have a listener anymore to find an fd, a receiver with
its settings properly set is enough now.
diff --git a/src/proto_tcp.c b/src/proto_tcp.c
index a842e61..258a72d 100644
--- a/src/proto_tcp.c
+++ b/src/proto_tcp.c
@@ -573,7 +573,7 @@
goto bound;
if (listener->rx.fd == -1)
- listener->rx.fd = sock_find_compatible_fd(listener);
+ listener->rx.fd = sock_find_compatible_fd(&listener->rx);
/* if the listener already has an fd assigned, then we were offered the
* fd by an external process (most likely the parent), and we don't want