]> git.ipfire.org Git - thirdparty/chrony.git/commit
sourcestats: change ST_GetSelectionData() to return status directly
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 3 Nov 2025 11:44:58 +0000 (12:44 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 4 Nov 2025 13:47:35 +0000 (14:47 +0100)
commit4659b574bfc263698db0c23d8cda8c16d9e3855a
tree5d9b92f3e17cdc520cf10f7f1fe1995b88cfd1c4
parent5436618c05468268a36b4bc01507aa629e133db5
sourcestats: change ST_GetSelectionData() to return status directly

For better consistency, indicate success (usable data) by returning 1
instead of setting a pointer parameter.
sources.c
sourcestats.c
sourcestats.h