httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: cvs commit: httpd-2.0/modules/experimental mod_cache.c
Date Tue, 17 Dec 2002 19:33:06 GMT
On Tue, 17 Dec 2002, Greg Marr wrote:

> Any reason not to just use apr_pstrcat(p, "Broken expires header ",
> exps) and save the overhead of the psprintf?

None that I know of.  It's not the main-line case, so it's not the most
critical thing in the world performance-wise, but I suppose it couldn't
hurt.  Anyway, wouldn't it be:

apr_pstrcat(p, "Broken expires header ", exps, NULL);

I was pretty sure you need the NULL there for pstrcat.

--Cliff



Mime
View raw message