debuginfod-client.c: Don't treat 0 as an error code.
authorAaron Merey <amerey@redhat.com>
Mon, 7 Nov 2022 16:26:32 +0000 (11:26 -0500)
committerAaron Merey <amerey@redhat.com>
Mon, 7 Nov 2022 16:26:32 +0000 (11:26 -0500)
commit88bab837c1d96a1f9a589dca74101ff378a0ff65
tree0c8b34f03ae4e3dbfe8c99db89c6338700f1928a
parent4628be9e03db78eaf2b02e9aa6cc677a0b4319ea
debuginfod-client.c: Don't treat 0 as an error code.

Replace 'fd > 0' with 'fd >= 0' to avoid treating a possible file
descriptor as an error code.

Signed-off-by: Aaron Merey <amerey@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c