set new_connection to 0 if nobody connected
parent
2e8a85cdd9
commit
0aba9750fb
|
@ -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);
|
||||
|
||||
|
|
Reference in New Issue