summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2018-09-08 18:09:00 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2018-09-08 18:09:00 +0000
commitfcb4f1cb94fd6caf6e217734d4acb38ff69337f5 (patch)
treee8e4bce7001fb3eb02ea4ece486301f223f8dea8
parent268a68c30d7ecdff561d11dfa620f167436988c6 (diff)
downloadlibapr-fcb4f1cb94fd6caf6e217734d4acb38ff69337f5.tar.gz
Correct cut-n-paste assignment error.
Submitted by: rjung Backports: r1840372 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1840374 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--time/win32/time.c2
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);