From 58dedee7d5baef0ac15f7054bae58a78aba9691c Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Fri, 23 May 2014 21:12:16 +0000 Subject: [PATCH] Save a few bytes of memory. This can be done in temp_pool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1597182 13f79535-47bb-0310-9956-ffa450edef68 --- modules/metadata/mod_usertrack.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c index 61752b7d5b..377c77bc45 100644 --- a/modules/metadata/mod_usertrack.c +++ b/modules/metadata/mod_usertrack.c @@ -308,9 +308,9 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, * CookieExpires "[plus] { }*" */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); if (!strncasecmp(word, "plus", 1)) { - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); }; /* { }* */ @@ -322,7 +322,7 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, return "bad expires code, numeric value expected."; /* */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); if (!word[0]) return "bad expires code, missing "; @@ -346,7 +346,7 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, modifier = modifier + factor * num; /* next */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); } cls->expires = modifier; -- 2.40.0