From: Johannes Schindelin Date: Sun, 18 Jan 2009 14:55:30 GMT Subject: Re: [PATCH] http-push: update memory allocation for http headers Message-ID: In-Reply-To: Hi, On Sun, 18 Jan 2009, Ray Chuan wrote: > 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