mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-28 01:53:51 +00:00
More trailing whilespace removal
This commit is contained in:
parent
7d961b6c93
commit
b9cf7acb1a
285 changed files with 769 additions and 769 deletions
|
|
@ -112,7 +112,7 @@ int uip_parsehttpurl(const char *url, uint16_t *port,
|
|||
{
|
||||
uint16_t accum = 0;
|
||||
src++; /* Skip over the colon */
|
||||
|
||||
|
||||
while (*src >= '0' && *src <= '9')
|
||||
{
|
||||
accum = 10*accum + *src - '0';
|
||||
|
|
@ -141,7 +141,7 @@ int uip_parsehttpurl(const char *url, uint16_t *port,
|
|||
bytesleft--;
|
||||
|
||||
/* The copy the rest of the file name to the user buffer */
|
||||
|
||||
|
||||
strncpy(dest, src, namelen);
|
||||
filename[namelen-1] = '\0';
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue