summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_usertrack.c
diff options
context:
space:
mode:
authorBrian Pane <brianp@apache.org>2002-06-30 06:30:41 +0200
committerBrian Pane <brianp@apache.org>2002-06-30 06:30:41 +0200
commit6b484e7e602dfa886aeb3fc9795c22842b7816a0 (patch)
tree5c0b419c713c4ad9a0b28797f6061b0e59a82adb /modules/metadata/mod_usertrack.c
parentReplaced APR_USEC_PER_SEC division with the new apr_time_sec() macro (diff)
downloadapache2-6b484e7e602dfa886aeb3fc9795c22842b7816a0.tar.xz
apache2-6b484e7e602dfa886aeb3fc9795c22842b7816a0.zip
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_usertrack.c')
-rw-r--r--modules/metadata/mod_usertrack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c
index 39e58a697b..a05e83bb2c 100644
--- a/modules/metadata/mod_usertrack.c
+++ b/modules/metadata/mod_usertrack.c
@@ -157,7 +157,7 @@ static void make_cookie(request_rec *r)
if ((dcfg->style == CT_UNSET) || (dcfg->style == CT_NETSCAPE)) {
apr_time_exp_t tms;
apr_time_exp_gmt(&tms, r->request_time
- + cls->expires * APR_USEC_PER_SEC);
+ + apr_time_from_sec(cls->expires));
new_cookie = apr_psprintf(r->pool,
"%s; expires=%s, "
"%.2d-%s-%.2d %.2d:%.2d:%.2d GMT",