diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2014-05-23 23:12:16 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2014-05-23 23:12:16 +0200 |
commit | 58dedee7d5baef0ac15f7054bae58a78aba9691c (patch) | |
tree | 7597c28db659a3283adef0f20f8abf47bfabb9e9 /modules/metadata/mod_usertrack.c | |
parent | Rebuil. (diff) | |
download | apache2-58dedee7d5baef0ac15f7054bae58a78aba9691c.tar.xz apache2-58dedee7d5baef0ac15f7054bae58a78aba9691c.zip |
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
Diffstat (limited to 'modules/metadata/mod_usertrack.c')
-rw-r--r-- | modules/metadata/mod_usertrack.c | 8 |
1 files 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] {<num> <type>}*" */ - 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); }; /* {<num> <type>}* */ @@ -322,7 +322,7 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, return "bad expires code, numeric value expected."; /* <type> */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); if (!word[0]) return "bad expires code, missing <type>"; @@ -346,7 +346,7 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, modifier = modifier + factor * num; /* next <num> */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); } cls->expires = modifier; |