]> git.puffer.fish Git - matthieu/frr.git/commit
lib: add `darr_strlen_fixup()` to update len based on NUL term
authorChristian Hopps <chopps@labn.net>
Thu, 13 Mar 2025 20:32:59 +0000 (20:32 +0000)
committerChristian Hopps <chopps@labn.net>
Fri, 14 Mar 2025 08:37:46 +0000 (08:37 +0000)
commitd58a8f473b50bb4f8166c1eaf929c63fae62db0a
tree9793cb96b5ff8b31fbd3bdeb8521ba242f510812
parent2ab8cce2e189a4f222a21e3d59c4b49854919ee4
lib: add `darr_strlen_fixup()` to update len based on NUL term

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/darr.h
tests/lib/test_darr.c