diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-09-02 07:38:17 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-09-02 07:39:24 +0000 |
| commit | 4aea6ea2eb400737837ff8d22c25688f88c7966c (patch) | |
| tree | cef210f60f023cee12fe298f68919a07a12fbe02 /source/API/SBFileSpec.cpp | |
| parent | 505103215ee2e3e31d233b952633e5697ac5da5f (diff) | |
Confirm that creating clients/sockets was successful by testing the
result separate from the assignment and test that the return value is
not -1 instead of testing that the value returned is non-zero.
This fixes the build with [ATF 0.22+][1].
MFC after: 2 weeks
Reported by: clang (-Wparenthesis)
Reviewed by: tuexen, cc
Differential Revision: https://reviews.freebsd.org/D59284
[1]: https://github.com/freebsd/atf/pull/72
Diffstat (limited to 'source/API/SBFileSpec.cpp')
0 files changed, 0 insertions, 0 deletions
