mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-14 17:50:48 +00:00
CLEANUP: src/fd.c: mask setsockopt with DISGUISE
we do not care of what is returned, let static analyzers to know that
This commit is contained in:
parent
876ed55d9b
commit
b7e43f0cab
4
src/fd.c
4
src/fd.c
@ -314,8 +314,8 @@ static void fd_dodelete(int fd, int do_close)
|
||||
|
||||
if (fdtab[fd].linger_risk) {
|
||||
/* this is generally set when connecting to servers */
|
||||
setsockopt(fd, SOL_SOCKET, SO_LINGER,
|
||||
(struct linger *) &nolinger, sizeof(struct linger));
|
||||
DISGUISE(setsockopt(fd, SOL_SOCKET, SO_LINGER,
|
||||
(struct linger *) &nolinger, sizeof(struct linger)));
|
||||
}
|
||||
if (cur_poller.clo)
|
||||
cur_poller.clo(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user