Obsolete
/
libipc-old
Archived
3
0
Fork 0

set new_connection to 0 if nobody connected

more_to_read
Philippe PITTOLI 2018-10-05 22:33:43 +02:00
parent 2e8a85cdd9
commit 0aba9750fb
1 changed files with 2 additions and 1 deletions

View File

@ -187,6 +187,7 @@ static int getMaxFd(struct ipc_clients *clients)
int ipc_server_select (struct ipc_clients *clients, struct ipc_service *srv
, struct ipc_clients *active_clients, int *new_connection)
{
*new_connection = 0;
assert (clients != NULL);
assert (active_clients != NULL);
@ -241,4 +242,4 @@ int ipc_server_select (struct ipc_clients *clients, struct ipc_service *srv
}
return 0;
}
}