mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04: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
1 changed files with 2 additions and 2 deletions
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 a new issue