HomeClusterLabs Projects

Refactor: pacemaker-based: best practices for construct_pam_passwd()

Description

Refactor: pacemaker-based: best practices for construct_pam_passwd()

Add a doxygen block, and improve error checking, log messages, comments,
and formatting.

Previously, the function would allocate the reply, and then on error,
clear and free it. Now, it doesn't allocate the reply unless it will be
returned.

Details

Provenance
kgaillotAuthored on Tue, Sep 17, 3:43 PM
Parents
rP6dcf7edf5bcf: Refactor: pacemaker-based: drop unnecessary loop
Branches
Unknown
Tags
Unknown