Re: cvs commit: squid/src MemBuf.c

From: Alex Rousskov <>
Date: Wed, 17 Apr 2002 17:54:59 -0600 (MDT)

On Thu, 18 Apr 2002, Henrik Nordstrom wrote:

> What about this simple API change: A function to return a MemBuf
> as a C string instead of accessing MemBuf->buf directly and
> assuing it is a string as is done today in many places... This
> function then ensures that the buffer is \0 terminated before
> returning a char * pointer to the "string".

Yes, having both terminated buf.c_str() and raw is a good

Received on Wed Apr 17 2002 - 17:55:01 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:12 MST