From c97da02306d11640fd289f455401b6eec8fa1b45 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 8 Jul 2014 07:29:38 -0600 Subject: WGET: Fix from Rony Xln --- apps/netutils/webclient/webclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/netutils') diff --git a/apps/netutils/webclient/webclient.c b/apps/netutils/webclient/webclient.c index 5bb7d6328..9051178b5 100644 --- a/apps/netutils/webclient/webclient.c +++ b/apps/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; } -- cgit v1.2.3