More trailing whilespace removal

This commit is contained in:
Gregory Nutt 2014-04-13 16:24:28 -06:00
parent 7d961b6c93
commit b9cf7acb1a
285 changed files with 769 additions and 769 deletions

View file

@ -82,7 +82,7 @@ ROOTDEPPATH = --dep-path .
# Common build
VPATH =
VPATH =
all: .built
.PHONY: context depend clean distclean

View file

@ -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;

View file

@ -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)