diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2018-09-08 18:09:00 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2018-09-08 18:09:00 +0000 |
commit | 4f1d13065aabeccd9a6b0265cbb6457f0963e0df (patch) | |
tree | e8e4bce7001fb3eb02ea4ece486301f223f8dea8 | |
parent | da8cc38cb0cc7519b38ac054d767ce64febfc5c7 (diff) | |
download | apr-4f1d13065aabeccd9a6b0265cbb6457f0963e0df.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.6.x@1840374 13f79535-47bb-0310-9956-ffa450edef68
-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); |