]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_writeout: check gmtime return code too
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 Aug 2025 07:24:46 +0000 (09:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 Aug 2025 09:42:33 +0000 (11:42 +0200)
commit065a6531583d58b4f2fdf81e83863ccf3158ff7f
tree8facf36cd486aeca5267f154ee8391de46c4b269
parent673b6c8cb81560b296032493484a1d3f0264e001
tool_writeout: check gmtime return code too

If the unlikely event happen that it fails, it returns NULL.
CodeSonar is not happy unless we check for it.

Closes #18225
src/tool_writeout.c