From aa48010271a1cbcae6ba6aa46b8b33422d19099b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 8 Jul 2014 07:29:38 -0600 Subject: [PATCH] WGET: Fix from Rony Xln --- netutils/webclient/webclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c index 5bb7d6328..9051178b5 100644 --- a/netutils/webclient/webclient.c +++ b/netutils/webclient/webclient.c @@ -2,7 +2,7 @@ * netutils/webclient/webclient.c * Implementation of the HTTP client. * - * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011-2012, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Based on uIP which also has a BSD style license: @@ -368,7 +368,7 @@ static inline int wget_parseheaders(struct wget_s *ws) } exit: - ws->offset = offset; + ws->offset = ++offset; ws->ndx = ndx; return OK; }