HomeClusterLabs Projects

Low: libcrmcommon: async connection callback must get negative error codes

Description

Low: libcrmcommon: async connection callback must get negative error codes

check_connect_finished() mistakenly set rc to errno in one case,
but a positive rc value is interpreted as a socket fd by the callback.
Use -errno instead.

Details

Provenance
kgaillotAuthored on Oct 25 2017, 5:39 PM
Parents
rPa506efdaecd6: Log: libcrmcommon,liblrmd: improve remote connection messages
Branches
Unknown
Tags
Unknown

Event Timeline