netutils/netlib: fix typos in comments

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-04-14 21:50:43 +03:00 committed by Xiang Xiao
parent a926c8bf12
commit 700b0ed235

View File

@ -89,7 +89,7 @@ void netlib_server(uint16_t portno,
for (; ; )
{
/* Accept the next connectin */
/* Accept the next connection */
addrlen = sizeof(struct sockaddr_in);
acceptsd = accept(listensd, (struct sockaddr *)&myaddr, &addrlen);
@ -157,7 +157,7 @@ void netlib_server(uint16_t portno,
pthread_detach(child);
}
/* Close the listerner socket */
/* Close the listener socket */
close(listensd);
}