HomeClusterLabs Projects

Fix: libcrmcommon: report errors consistently when waiting for data on…

Description

Fix: libcrmcommon: report errors consistently when waiting for data on connection

For some errors, crm_ipc_ready() and crm_remote_ready() would return -errno,
while for other errors, they would return -1 and set errno, making it impossible
for callers to reliably interpret the value. Now, they consistently return
-errno on error.

Details

Provenance
kgaillotAuthored on Sep 15 2016, 11:16 AM
Parents
rP47cc0d368df1: Doc: crmd,extra,include: correct minor typos in comments
Branches
Unknown
Tags
Unknown

Event Timeline