]> git.ipfire.org Git - thirdparty/curl.git/commit
examples/synctime: fix null termination assumptions
authorDaniel Stenberg <daniel@haxx.se>
Sun, 12 Oct 2025 09:24:07 +0000 (11:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 12 Oct 2025 13:35:57 +0000 (15:35 +0200)
commit1feeda422e4bf247d9181a06e5642ca5cc3bdfb2
tree8d9b45d1703b820e02c6640f4441b2642f1bf5e5
parent1e90a63a49e9cbfea8ff52055576df1189b47a7d
examples/synctime: fix null termination assumptions

bonus: dont parse argv[0] for options

Reported-by: Joshua Rogers
Closes #19032
docs/examples/synctime.c