HomeClusterLabs Projects

Refactor: libcrmcommon: Rearrange internal_ipc_get_reply.
141085a89f16Unpublished

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: Rearrange internal_ipc_get_reply.

This is intended to make the code a little easier to follow so I can
make further modifications to it. Changes:

  • Rewrite conditionals and move them higher up in the function to allow unindenting things.
  • Rename "bad" to "reply".
  • Define variables at the top of the function. Note that a later patch will add a use of hdr at the bottom of the function, while reply will be turned into a parameter.
  • Add a separate variable for the timeout we're passing to qb_ipcc_recv.

Details

Provenance
clumensAuthored on Feb 26 2025, 11:52 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.