summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_usertrack.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-07-17 18:08:53 +0200
committerJeff Trawick <trawick@apache.org>2002-07-17 18:08:53 +0200
commit0fd67ef4184af79bb2abcc88f1c65bc6deae5dda (patch)
tree56a9049e5c9280747be23c5264253b47822d537f /modules/metadata/mod_usertrack.c
parentuse APR_SIZE_T_FMT for formatting apr_size_t (diff)
downloadapache2-0fd67ef4184af79bb2abcc88f1c65bc6deae5dda.tar.xz
apache2-0fd67ef4184af79bb2abcc88f1c65bc6deae5dda.zip
use APR_TIME_T_FMT when formatting apr_time_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96099 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_usertrack.c')
-rw-r--r--modules/metadata/mod_usertrack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c
index a05e83bb2c..a8b9d475ac 100644
--- a/modules/metadata/mod_usertrack.c
+++ b/modules/metadata/mod_usertrack.c
@@ -146,7 +146,8 @@ static void make_cookie(request_rec *r)
dcfg = ap_get_module_config(r->per_dir_config, &usertrack_module);
/* XXX: hmm, this should really tie in with mod_unique_id */
- apr_snprintf(cookiebuf, sizeof(cookiebuf), "%s.%qd", rname, apr_time_now());
+ apr_snprintf(cookiebuf, sizeof(cookiebuf), "%s.%" APR_TIME_T_FMT, rname,
+ apr_time_now());
if (cls->expires) {