Re: [PATCH 02/14] url: decode buffers that are not NUL-terminated
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 20, 2011, 22:16 UTC
- Message-ID
- <7v62mw61j6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110718074851.GB12341@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> 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 <peff@peff.net> > --- > http.c | 27 ++++----------------------- > url.c | 26 ++++++++++++++++++-------- > url.h | 1 + > 3 files changed, 23 insertions(+), 31 deletions(-)
Very nice.