Skip to content

Commit

Permalink
Correct cut-n-paste assignment error.
Browse files Browse the repository at this point in the history
Submitted by: rjung


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1840372 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
wrowe committed Sep 8, 2018
1 parent ed3d4eb commit 107602a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion time/win32/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 107602a

Please sign in to comment.