diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2023-09-20 14:46:10 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2023-09-20 14:46:10 +0200 |
| commit | e408a915a3c6d808d6f522f9e124b7079b2a6e33 (patch) | |
| tree | 4c6af58aed1d23d9b74006d3d304e5a6c9880b98 /lib/sha256.c | |
| parent | 5ce8577bd77f97758a24cbfec8e90513a5abcb12 (diff) | |
lib: straight return on error on log open fail
I think I originally had some other code at the tail end of that
function, but that's not the case anymore, and dropping out of the
function with a straight "return -1" is more useful than trucking on
with an invalid fd.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/sha256.c')
0 files changed, 0 insertions, 0 deletions
