Most cosmetic changes to apps/examples/netloop

This commit is contained in:
Gregory Nutt 2015-09-02 18:30:12 -06:00
parent 9191e22624
commit 84dbf4ee7c
3 changed files with 10 additions and 7 deletions

View file

@ -149,7 +149,7 @@ static inline bool net_incomingdata(struct net_listener_s *nls, int sd)
else
{
nls->buffer[ret]='\0';
printf("poll_listener: Read '%s' (%d bytes)\n", nls->buffer, ret);
printf("lo_listener: Read '%s' (%d bytes)\n", nls->buffer, ret);
/* Echo the data back to the client */

View file

@ -111,7 +111,7 @@ static int lo_client(void)
for (i = 0; ; i++)
{
sprintf(outbuf, "Remote message %d", i);
sprintf(outbuf, "Loopback message %d", i);
len = strlen(outbuf);
printf("lo_client: Sending '%s' (%d bytes)\n", outbuf, len);