diff options
author | brane <brane@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-28 01:32:37 +0000 |
---|---|---|
committer | brane <brane@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-28 01:32:37 +0000 |
commit | 1975ade6ff66fa1d69a910aa1b0a0f0545e5d95c (patch) | |
tree | b66eb6218b7b0e6a7e50f1b6b867a1956b62d812 /time | |
parent | c66992e34f2ad2fe427a2f9ae35a5d2b966b3281 (diff) | |
download | libapr-1975ade6ff66fa1d69a910aa1b0a0f0545e5d95c.tar.gz |
apr_explode_localtime was not setting result's tm_usec field.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61810 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/unix/time.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/time/unix/time.c b/time/unix/time.c index bac305139..b1e1fde44 100644 --- a/time/unix/time.c +++ b/time/unix/time.c @@ -163,6 +163,7 @@ apr_status_t apr_explode_localtime(apr_exploded_time_t *result, apr_time_t input mangotm = *localtime(&mango); #endif tm_to_exp(result, &mangotm, &mango); + result->tm_usec = input % APR_USEC_PER_SEC; return APR_SUCCESS; #endif /* __EMX__ */ } |