summaryrefslogtreecommitdiff
path: root/lib/curl_rtmp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-21 12:55:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-21 16:46:41 +0200
commit2e645e21de1b3faef108569a8819778b6755c2f0 (patch)
treefc9ccb379c0eae895d81eee9e8d1dad5fc84f70c /lib/curl_rtmp.c
parentbe238394770b3e536687e6d6120283f8b5959777 (diff)
downloadcurl-2e645e21de1b3faef108569a8819778b6755c2f0.tar.gz
parsedate: tune the date to epoch conversion
By avoiding an unnecessary error check and the temp use of the tm struct, the time2epoch conversion function gets a little bit faster. When repeating test 517, the updated version is perhaps 1% faster (on one particular build on one particular architecture). Closes #5985
Diffstat (limited to 'lib/curl_rtmp.c')
0 files changed, 0 insertions, 0 deletions