HomeClusterLabs Projects

Low: libcrmcommon: Improve prefix spacing in XML logging functions

Description

Low: libcrmcommon: Improve prefix spacing in XML logging functions

In cases where the prefix may be empty, include a space after the prefix
only if the prefix is not empty.

A NULL prefix may be impossible in some places now; pcmk__s() is used
anyway for future-proofing and in preparation for an upcoming refactor.

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

Details

Provenance
nrwahl2Authored on Dec 19 2022, 4:33 PM
Parents
rP73c0afba68f1: Refactor: libcrmcommon: Best practices in xml_log_changes()
Branches
Unknown
Tags
Unknown