mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 16:34:42 +00:00
BUILD: checks: silence a null-deref build warning at -Wextra
Simply don't use cs_conn() on a valid CS.
This commit is contained in:
parent
433c16ffea
commit
543abd4027
@ -1408,7 +1408,7 @@ static int wake_srv_chk(struct conn_stream *cs)
|
||||
if (check->type == PR_O2_TCPCHK_CHK) {
|
||||
ret = tcpcheck_main(check);
|
||||
cs = check->cs;
|
||||
conn = cs_conn(cs);
|
||||
conn = cs->conn;
|
||||
} else if (!(check->wait_list.wait_reason & SUB_CAN_SEND))
|
||||
__event_srv_chk_w(cs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user