HomeClusterLabs Projects

Refactor: controller: snprintf() -> GString

Description

Refactor: controller: snprintf() -> GString

And replace g_string_.*printf() with pcmk__g_strcat().

Note: g_string_append() appears to be more efficient than
crm_strdup_printf() if we don't need to keep a char *.

Ref T152

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

Details

Provenance
nrwahl2Authored on Sep 24 2022, 6:39 PM
Parents
rP0ca8f06652ae: Refactor: tools: Simplify build_clear_xpath_string() in crm_resource_ban
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task