From: Junio C Hamano Date: Wed, 20 Jul 2011 22:16:29 GMT Subject: Re: [PATCH 02/14] url: decode buffers that are not NUL-terminated Message-ID: <7v62mw61j6.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110718074851.GB12341@sigill.intra.peff.net> Jeff King writes: > The url_decode function needs only minor tweaks to handle > arbitrary buffers. Let's do those tweaks, which cleans up an > unreadable mess of temporary strings in http.c. > > Signed-off-by: Jeff King > --- > http.c | 27 ++++----------------------- > url.c | 26 ++++++++++++++++++-------- > url.h | 1 + > 3 files changed, 23 insertions(+), 31 deletions(-) Very nice.