diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2018-09-08 18:08:39 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2018-09-08 18:08:39 +0000 |
commit | 0c528e5b4f30b331baf45ca58287dad2c8ff11d1 (patch) | |
tree | e78023322d7c142ef7a4a532b787bbaed967bdda /time/win32 | |
parent | 1e4120345bdd5a0b70aa6c9bf2740721271f8794 (diff) | |
download | apr-0c528e5b4f30b331baf45ca58287dad2c8ff11d1.tar.gz |
Correct cut-n-paste assignment error.
Submitted by: rjung
Backports: r1840372
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1840373 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time/win32')
-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 6ba92f1ca..81dc2a478 100644 --- a/time/win32/time.c +++ b/time/win32/time.c @@ -296,7 +296,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); |