Fix the minor style issue

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-10-08 16:31:21 +08:00
committed by Petro Karashchenko
parent 4941182cc6
commit 893387b2c5
112 changed files with 605 additions and 576 deletions

View File

@@ -85,7 +85,9 @@ static bool net_closeclient(struct net_listener_s *nls, int sd)
close(sd);
FD_CLR(sd, &nls->master);
/* If we just closed the max SD, then search downward for the next biggest SD. */
/* If we just closed the max SD, then search downward for the next
* biggest SD.
*/
while (FD_ISSET(nls->mxsd, &nls->master) == false)
{
@@ -297,7 +299,7 @@ void *lo_listener(pthread_addr_t pvarg)
memset(&nls, 0, sizeof(struct net_listener_s));
if (!net_mksocket(&nls))
{
return (void*)1;
return (void *)(uintptr_t)1;
}
/* Initialize the 'master' file descriptor set */