commit | 1ef724e2169eaff7f0272278c3fba9b34d5c7f78 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Feb 12 10:59:32 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 12 10:59:32 2019 +0100 |
tree | f3753a35976c9fa9c8e46040eecb7ce881d869dd | |
parent | 09c4bab41188c13e7a9227f8baaff230ebdd0875 [diff] |
BUILD/MINOR: stream: avoid a build warning with threads disabled gcc 6+ complains about a possible null-deref here due to the test in objt_server() : if (objt_server(s->target)) HA_ATOMIC_ADD(&objt_server(s->target)->counters.retries, 1); Let's simply change it to __objt_server(). This can be backported to 1.9 and 1.8.