WGET: Fix from Rony Xln
This commit is contained in:
parent
b0d0e4a031
commit
aa48010271
@ -2,7 +2,7 @@
|
|||||||
* netutils/webclient/webclient.c
|
* netutils/webclient/webclient.c
|
||||||
* Implementation of the HTTP client.
|
* 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>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Based on uIP which also has a BSD style license:
|
* Based on uIP which also has a BSD style license:
|
||||||
@ -368,7 +368,7 @@ static inline int wget_parseheaders(struct wget_s *ws)
|
|||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
ws->offset = offset;
|
ws->offset = ++offset;
|
||||||
ws->ndx = ndx;
|
ws->ndx = ndx;
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user