login/user-runtime-dir: use STRLEN where appropriate
authorMike Yuan <me@yhndnzj.com>
Tue, 18 Jun 2024 14:31:12 +0000 (16:31 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Jul 2024 18:00:04 +0000 (20:00 +0200)
commit71546deef5074d79ac54963c32b08128bb05a08a
treede327d6ab2e31ec4509090aaa120089e99460b6b
parentfbfc88af5e8964e008c67bdac4c7d4060f0f99a3
login/user-runtime-dir: use STRLEN where appropriate

Also, add missing trailing / to paths used in STRLEN/sizeof.

(cherry picked from commit 0b8a714b2bb69cba68daec4f742c1b85bbafbdb1)
src/login/user-runtime-dir.c