HomeClusterLabs Projects

Fix: libcrmcommon: list_item now takes a format string and args.

Description

Fix: libcrmcommon: list_item now takes a format string and args.

There were a lot of places where we were doing something like building
up a string from several arguments, outputting it with list_item, and
then freeing the string. This is fairly tedious. Instead, list_item
can take a format string and args and do all that work behind the
scenes.

Details

Provenance
clumensAuthored on Sep 25 2019, 2:24 PM
Parents
rPbbb1988b8778: Refactor: tools: Add curses_indented_vprintf.
Branches
Unknown
Tags
Unknown

Event Timeline