On a Friday in 2024, Michal Privoznik wrote:
Instead of using strlen() to calculate length of payload we're
sending, let caller specify the size: they may want to send just
a portion of a buffer (even though the only current user
doesn't).
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/ch/ch_process.c | 5 ++++-
src/util/virsocket.c | 10 ++++++++--
src/util/virsocket.h | 4 ++--
3 files changed, 14 insertions(+), 5 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano