]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/time-util.c
time-util: mktime_or_timegm are changing the struct tm 6879/head
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Wed, 20 Sep 2017 17:26:13 +0000 (19:26 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Fri, 22 Sep 2017 12:01:33 +0000 (14:01 +0200)
commit214cc95d7bfd6bd22a17c2ac1ab84e31d2e82640
tree0e63f1deb3fb6feb9c50edcf2b19efa0efeb9e35
parent3fd4929b960776b5368222688cecabd6ec958f7b
time-util: mktime_or_timegm are changing the struct tm

after that wm_day etc. seems to be changed. Moving the check infront of
the mktime_or_timegm fixes that.
src/basic/time-util.c