diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2018-09-08 18:07:36 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2018-09-08 18:07:36 +0000 |
commit | 8060737d702ccfebcdb7cbb42e0e51118a72e46f (patch) | |
tree | eedd4da2b75384f12b07851b9ae63b9a8b15d221 /time | |
parent | d8ac046b21b2993d40d49ef6955f559491058608 (diff) | |
download | apr-8060737d702ccfebcdb7cbb42e0e51118a72e46f.tar.gz |
Correct cut-n-paste assignment error.
Submitted by: rjung
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1840372 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/win32/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/win32/time.c b/time/win32/time.c index 6f4590541..02b272360 100644 --- a/time/win32/time.c +++ b/time/win32/time.c @@ -299,7 +299,7 @@ APR_DECLARE(apr_status_t) apr_os_exp_time_put(apr_time_exp_t *aprtime, /* The Platform SDK documents that SYSTEMTIME/FILETIME are * generally UTC, so no timezone info needed */ - if (tm->wMonth < 1 || tm->wMonth > 12) + if ((*ostime)->wMonth < 1 || (*ostime)->wMonth > 12) return APR_EBADDATE; SystemTimeToAprExpTime(aprtime, *ostime); |