Ban XXX, TBD, FIXME comments (#6486)

This commit is contained in:
Michael Vines
2019-10-21 16:43:11 -07:00
committed by GitHub
parent b38bf90de7
commit 3fb70b8d47
4 changed files with 27 additions and 5 deletions

View File

@@ -272,7 +272,7 @@ pub fn bind_in_range(range: PortRange) -> io::Result<(u16, UdpSocket)> {
// binds many sockets to the same port in a range
pub fn multi_bind_in_range(range: PortRange, mut num: usize) -> io::Result<(u16, Vec<UdpSocket>)> {
if cfg!(windows) && num != 1 {
// TODO: Can we do better for windows?
// See https://github.com/solana-labs/solana/issues/4607
warn!(
"multi_bind_in_range() only supports 1 socket in windows ({} requested)",
num