httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: [PATCH] performance fix for mod_include
Date Sat, 10 Nov 2001 19:16:51 GMT
From: "Ryan Bloom" <rbb@covalent.net>
Sent: Saturday, November 10, 2001 12:38 PM


> On Saturday 10 November 2001 10:34 am, Cliff Woolley wrote:
> >
> > memset(f->ctx, 0, (size_t)((char *)&(ctx->error_str) - (char *)ctx));
> 
> No offense, but that is an ugly line of code.  :-) 

Guys, look at the mod_mime cmd table, we have some xt_offset style macros
that make this sort of cruft much more readable ;)


Mime
View raw message