diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-08 07:29:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-08 07:29:38 -0600 |
commit | c97da02306d11640fd289f455401b6eec8fa1b45 (patch) | |
tree | 9bf9ec69064b1b7bc98645a4adf0aba78f0ea92c /apps | |
parent | c6f4103b44831c1c7b307befc2d670c0f5c5e76e (diff) | |
download | nuttx-c97da02306d11640fd289f455401b6eec8fa1b45.tar.gz nuttx-c97da02306d11640fd289f455401b6eec8fa1b45.tar.bz2 nuttx-c97da02306d11640fd289f455401b6eec8fa1b45.zip |
WGET: Fix from Rony Xln
Diffstat (limited to 'apps')
-rw-r--r-- | apps/netutils/webclient/webclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <gnutt@nuttx.org> * * 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; } |