HomeClusterLabs Projects

Low: libpe_status: refactor new internal function for getting end of resource…

Description

Low: libpe_status: refactor new internal function for getting end of resource name

This reduces code duplication between clone_strip() and clone_zero(), and will
have wider use later. This commit also makes those two functions assert on
error, as none of the callers check the return value for NULL.

Details

Provenance
kgaillotAuthored on Nov 8 2017, 5:40 PM
Parents
rPb1182460c70b: Refactor: libpe_status: make clone parsing more efficient
Branches
Unknown
Tags
Unknown

Event Timeline