HomeClusterLabs Projects

Refactor: based: Move cib_msg_copy() to based_messages.c

Description

Refactor: based: Move cib_msg_copy() to based_messages.c

And make it static. It's logically message-related, and the only caller
is sync_our_cib().

Also remove the CRM_CHECK() for replace_request non-NULL. cib_msg_copy()
asserts if it's NULL.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on May 25 2023, 5:24 PM
Parents
rP825a62f12660: Refactor: based: Fix bad sync check in sync_our_cib()
Branches
Unknown
Tags
Unknown