HomeFreeBSD

ctld: Use bool in uclparse.c

Description

ctld: Use bool in uclparse.c

Previously these functions all returned either 0 or 1, but 0 was
success and 1 was failure. Use a bool where false indicates failure
instead which is more readable.

Reviewed by: mav, asomers
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D48594

Details

Provenance
jhbAuthored on Fri, Jan 24, 2:52 PM
Reviewer
mav
Differential Revision
D48594: ctld: Use bool in uclparse.c
Parents
rGdd3603749cb7: iscsi: Move valid_iscsi_name to libiscsiutil
Branches
Unknown
Tags
Unknown