httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <>
Subject Re: ap_bucket_transient
Date Tue, 15 Aug 2000 02:10:28 GMT
On Tue, Aug 15, 2000 at 01:52:46AM +0000, Tony Finch wrote:
> wrote:
> >
> >Not IMO.  There is no garauntee that this is character data.  We have
> >always tended to use void *'s when passing data down to the network layer,
> >so I just conitnued that trend.
> Hmm, but we do arithmetic on the pointers as if it were character
> data. I think using char* results in tidier code -- clean compiles
> without the casts that Bill S. added and I threw away :-).
> (Actually, char* doesn't necessarily imply text -- it can equally well
> be any byte-wide data -- another reason why it is the right type to use.)

I agree with Tony here. We're dealing with byte-oriented data, so the char*
is fine.


Greg Stein,

View raw message