examples/pf_ieee802154/pf_client.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-11 00:20:23 +09:00 committed by Xiang Xiao
parent 0d09a09f33
commit 16f805cb22

View File

@ -141,14 +141,15 @@ int main(int argc, FAR char *argv[])
/* Set up the server address */
server.sa_family = AF_IEEE802154;
memcpy(&server.sa_addr, &g_server_addr, sizeof(struct ieee802154_saddr_s));
memcpy(&server.sa_addr, &g_server_addr,
sizeof(struct ieee802154_saddr_s));
addrlen = sizeof(struct sockaddr_ieee802154_s);
/* Send the message */
printf("client: %d. Sending %d bytes\n", offset, SENDSIZE);
nbytes = sendto(sockfd, outbuf, SENDSIZE, 0,
(struct sockaddr*)&server, addrlen);
(struct sockaddr *)&server, addrlen);
printf("client: %d. Sent %d bytes\n", offset, nbytes);
if (nbytes < 0)