mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-16 09:09:21 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue