From 16f805cb222285263f4f506b953594df6167bbfb Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 11 Nov 2020 00:20:23 +0900 Subject: [PATCH] examples/pf_ieee802154/pf_client.c: Appease nxstyle --- examples/pf_ieee802154/pf_client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/pf_ieee802154/pf_client.c b/examples/pf_ieee802154/pf_client.c index 8d72df28a..3b11b0426 100644 --- a/examples/pf_ieee802154/pf_client.c +++ b/examples/pf_ieee802154/pf_client.c @@ -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)