HomeClusterLabs Projects

Refactor: libcrmcommon: Reduce code duplication in crm_ipc_send.
ec35b27f75bfUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.