From 4f1d13065aabeccd9a6b0265cbb6457f0963e0df Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sat, 8 Sep 2018 18:09:00 +0000 Subject: 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 --- time/win32/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1