Re: [PATCH] http-push: update memory allocation for http headers
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 18, 2009, 14:55 UTC
- Message-ID
- <alpine.DEB.1.00.0901181554480.3586@pacific.mpi-cbg.de>
- In-Reply-To
- <be6fef0d0901180516q19327c18oa1d7ccc36ce3a87@mail.gmail.com>
Hi,
On Sun, 18 Jan 2009, Ray Chuan wrote:
Show 6 quoted lines
> In 753bc91 (Remove the requirement opaquelocktoken uri scheme), the > header strings were with the removal "opaquelocktoken:" (16 > characters). > > Unfortunately, this was without the corresponding change in memory > allocation. In this patch we update these allocations.
Rather than doing this (which will result in as error-prone code), why don't you replace those things by strbufs?
Ciao, Dscho