agent: fix a regression when updating foundations
authorFabrice Bellet <fabrice@bellet.info>
Mon, 29 Jul 2019 21:35:04 +0000 (21:35 +0000)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Mon, 29 Jul 2019 21:35:04 +0000 (21:35 +0000)
commitacda4a08d06af957fc88139884e9340c09bdcfd3
tree82e9b4dfb658cd326838c97bc58da00d88fda817
parent1607f9209d0db3112a1b6906828362f2ec9874d2
agent: fix a regression when updating foundations

A previous commit c1fb6f2 introduced a regression in the way the
foundation of a selected pair is updated and signaled, when the
foundation of its remote candidate changes. The previous comparison was
made on *always* identical strings, so the update of the selected pair
was *never* signaled.
agent/agent.c