fix a bug of allocate_more_fd_slots

This commit is contained in:
Vincent Wei
2020-08-12 20:32:12 +08:00
parent 07ba1c50b9
commit 8d4ced06d6

View File

@@ -140,6 +140,8 @@ static BOOL allocate_more_fd_slots (MSGQUEUE* msg_queue)
msg_queue->fd_slots[i] = NULL;
}
msg_queue->nr_fd_slots += MAX_NR_LISTEN_FD;
return TRUE;
}
return FALSE;