summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);