HomeClusterLabs Projects

Refactor: tools: Clean up crm_diff.c:apply_patchset()
c27d53132f9bUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: tools: Clean up crm_diff.c:apply_patchset()

We don't do anything with input afterward, and this is static for a CLI
tool, so no need to make a copy.

Don't bother adding doxygen. We're about to drop this function. I'm
doing it in two steps to clarify what it's doing and that it's no longer
worth functionizing.

Also NULL-check digest before using it in crm_strdup_printf() in
pcmk__digest_xml().

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

Details

Provenance
nrwahl2Authored on Mar 18 2025, 12:00 AM
Parents
rPaddc2ce73fc4: Refactor: libcrmcommon: Clarify check_patchset_versions()
Branches
Unknown
Tags
Unknown

Event Timeline