mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-11 01:26:58 +02: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) {
|
if (fdtab[fd].linger_risk) {
|
||||||
/* this is generally set when connecting to servers */
|
/* this is generally set when connecting to servers */
|
||||||
setsockopt(fd, SOL_SOCKET, SO_LINGER,
|
DISGUISE(setsockopt(fd, SOL_SOCKET, SO_LINGER,
|
||||||
(struct linger *) &nolinger, sizeof(struct linger));
|
(struct linger *) &nolinger, sizeof(struct linger)));
|
||||||
}
|
}
|
||||||
if (cur_poller.clo)
|
if (cur_poller.clo)
|
||||||
cur_poller.clo(fd);
|
cur_poller.clo(fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user