commit | fb7508aefb6842948ce72d3f236b1f99e6df33b8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon May 21 16:47:54 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 21 16:47:54 2012 +0200 |
tree | fd7d5383f85b1e885497e81ec0165e2594070953 | |
parent | 73b013b070ddfe8d38e20c52a5d836e3f2be1838 [diff] [blame] |
REORG/MINOR: stream_interface: move si->fd to struct connection The socket fd is used only when in socket mode and with a connection.
diff --git a/src/frontend.c b/src/frontend.c index d2a9e70..63a2c1f 100644 --- a/src/frontend.c +++ b/src/frontend.c
@@ -52,7 +52,7 @@ */ int frontend_accept(struct session *s) { - int cfd = s->si[0].fd; + int cfd = si_fd(&s->si[0]); tv_zero(&s->logs.tv_request); s->logs.t_queue = -1;