mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-10 02:36:32 +00:00
More trailing whilespace removal
This commit is contained in:
parent
7d961b6c93
commit
b9cf7acb1a
285 changed files with 769 additions and 769 deletions
|
|
@ -82,7 +82,7 @@ ROOTDEPPATH = --dep-path .
|
|||
|
||||
# Common build
|
||||
|
||||
VPATH =
|
||||
VPATH =
|
||||
|
||||
all: .built
|
||||
.PHONY: context depend clean distclean
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ void uip_server(uint16_t portno, pthread_startroutine_t handler, int stacksize)
|
|||
for (;;)
|
||||
{
|
||||
/* Accept the next connectin */
|
||||
|
||||
|
||||
addrlen = sizeof(struct sockaddr_in);
|
||||
acceptsd = accept(listensd, (struct sockaddr*)&myaddr, &addrlen);
|
||||
if (acceptsd < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue