mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-09 23:15:25 +00:00
More trailing whilespace removal
This commit is contained in:
parent
7d961b6c93
commit
b9cf7acb1a
285 changed files with 769 additions and 769 deletions
|
|
@ -39,7 +39,7 @@ include $(APPDIR)/Make.defs
|
|||
|
||||
# UDP Test
|
||||
|
||||
TARG_ASRCS =
|
||||
TARG_ASRCS =
|
||||
|
||||
TARG_CSRCS = target.c
|
||||
ifeq ($(CONFIG_EXAMPLES_UDP_SERVER),y)
|
||||
|
|
@ -84,7 +84,7 @@ ROOTDEPPATH = --dep-path .
|
|||
|
||||
# Common build
|
||||
|
||||
VPATH =
|
||||
VPATH =
|
||||
|
||||
all: .built
|
||||
.PHONY: clean depend distclean
|
||||
|
|
|
|||
|
|
@ -126,14 +126,14 @@ void recv_server(void)
|
|||
{
|
||||
message("server: %d. Receiving up 1024 bytes\n", offset);
|
||||
addrlen = sizeof(struct sockaddr_in);
|
||||
nbytes = recvfrom(sockfd, inbuf, 1024, 0,
|
||||
nbytes = recvfrom(sockfd, inbuf, 1024, 0,
|
||||
(struct sockaddr*)&client, &addrlen);
|
||||
|
||||
tmpaddr = ntohl(client.sin_addr.s_addr);
|
||||
message("server: %d. Received %d bytes from %d.%d.%d.%d:%d\n",
|
||||
offset, nbytes,
|
||||
tmpaddr >> 24, (tmpaddr >> 16) & 0xff,
|
||||
(tmpaddr >> 8) & 0xff, tmpaddr & 0xff,
|
||||
offset, nbytes,
|
||||
tmpaddr >> 24, (tmpaddr >> 16) & 0xff,
|
||||
(tmpaddr >> 8) & 0xff, tmpaddr & 0xff,
|
||||
ntohs(client.sin_port));
|
||||
|
||||
if (nbytes < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue