HomeClusterLabs Projects

totemip: Use res in totemip_sa_equal

Description

totemip: Use res in totemip_sa_equal

Setting res to -1 was not entirely following semantics of "equal"
operation. Set it to 0 and return it when families differs makes
compiler happy.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>

Details

Provenance
jfriesseAuthored on Jun 11 2019, 4:28 AM
Parents
rC299c9c5b7016: totemconfig: ipaddr_equal use switch
Branches
Unknown
Tags
Unknown

Event Timeline