conncheck: Check the controlling state when the req was sent
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 11 Apr 2017 20:42:55 +0000 (16:42 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 11 Apr 2017 22:31:14 +0000 (18:31 -0400)
commitf49ab88f957a3a250ef2ada0c0fab4fbbd3e5da8
tree62fc8643c6439373ca5d665b4480fb320ca4e6aa
parent8fc22b0034d04cbc222e0637152b1cee2879eef3
conncheck: Check the controlling state when the req was sent

It was checking when the pair was created, but the role may have
already changed when the request is sent.
agent/conncheck.c
agent/conncheck.h