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
rPf3c4cc044bb4: Refactor: pacemaker-based: drop unnecessary loop
Branches
Unknown
Tags
Unknown