HomeClusterLabs Projects

Log: liblrmd: return sensible value when remote connection fails

Description

Log: liblrmd: return sensible value when remote connection fails

Previously, lrmd_tls_connect_async() returned -1 if the connection failed,
even though it was interpreted as a legacy return code, potentially leading to
nonsensical messages.

Now, pass back the richer error code returned by the connection function.

Details

Provenance
kgaillotAuthored on May 6 2021, 10:00 PM
Parents
rP9460de0a5b7f: Log: liblrmd: improve failure messages when initializing remote key
Branches
Unknown
Tags
Unknown

Event Timeline