You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2014/05/23 23:12:16 UTC
svn commit: r1597182 - /httpd/httpd/trunk/modules/metadata/mod_usertrack.c
Author: jailletc36
Date: Fri May 23 21:12:16 2014
New Revision: 1597182
URL: http://svn.apache.org/r1597182
Log:
Save a few bytes of memory. This can be done in temp_pool.
Modified:
httpd/httpd/trunk/modules/metadata/mod_usertrack.c
Modified: httpd/httpd/trunk/modules/metadata/mod_usertrack.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_usertrack.c?rev=1597182&r1=1597181&r2=1597182&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_usertrack.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_usertrack.c Fri May 23 21:12:16 2014
@@ -308,9 +308,9 @@ static const char *set_cookie_exp(cmd_pa
* 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_pa
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_pa
modifier = modifier + factor * num;
/* next <num> */
- word = ap_getword_conf(parms->pool, &arg);
+ word = ap_getword_conf(parms->temp_pool, &arg);
}
cls->expires = modifier;