diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
commit | 43ec94a665e13552402ff4f102e0f65f6792cf29 (patch) | |
tree | 05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/netutils/uiplib/uip_parsehttpurl.c | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/netutils/uiplib/uip_parsehttpurl.c')
-rw-r--r-- | apps/netutils/uiplib/uip_parsehttpurl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/netutils/uiplib/uip_parsehttpurl.c b/apps/netutils/uiplib/uip_parsehttpurl.c index da973b46f..fbb2a9046 100644 --- a/apps/netutils/uiplib/uip_parsehttpurl.c +++ b/apps/netutils/uiplib/uip_parsehttpurl.c @@ -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; |