HomeClusterLabs Projects

Refactor: libcrmcommon: Reduce code duplication in crm_ipc_send.

Description

Refactor: libcrmcommon: Reduce code duplication in crm_ipc_send.

The two send branches - one for if there's a timeout, and one for if
there's not - are identical except for checking a timeout value. These
can be condensed into a single block of code with a somewhat complicated
conditional.

Details

Provenance
clumensAuthored on Feb 24 2025, 1:18 PM
Parents
rP3b0e24827213: Refactor: libcrmcommon: Rearrange send/receive code in crm_ipc_send.
Branches
Unknown
Tags
Unknown