libhmd-c

C human-readable date string library
git clone https://git.sinitax.com/sinitax/libhmd-c
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

commit 257d645c5589ce4804a4a6dad36bc9dd4b508458
parent 92dfbe1fb15b3861185b287b53a54f964ee5f01e
Author: Louis Burda <quent.burda@gmail.com>
Date:   Mon, 26 Jun 2023 14:44:52 +0200

fixup! Add date span api

Diffstat:
Msrc/hmd.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/hmd.c b/src/hmd.c @@ -151,6 +151,7 @@ hmd_spn_parse(struct hmd_spn *spn, const char *arg) char *end; uint64_t v; + memset(spn, 0, sizeof(struct hmd_spn)); for (c = arg; *c; c = end + 1) { v = strtoul(c, &end, 10); if (!end) return HMD_ERR_FMT;