Browse Source

remove misplaced comment

cl-refactor
subtly 10 years ago
parent
commit
b47431a328
  1. 6
      libp2p/UDP.h

6
libp2p/UDP.h

@ -229,9 +229,9 @@ void UDPSocket<Handler, MaxDatagramSize>::doWrite()
if (m_closed) if (m_closed)
return disconnectWithError(_ec); return disconnectWithError(_ec);
else if (_ec != boost::system::errc::success && else if (_ec != boost::system::errc::success &&
_ec != boost::system::errc::address_not_available && _ec != boost::system::errc::address_not_available &&
_ec != boost::system::errc::host_unreachable) _ec != boost::system::errc::host_unreachable)
return disconnectWithError(_ec); // 49: can't assign requested address return disconnectWithError(_ec);
else else
{ {
Guard l(x_sendQ); Guard l(x_sendQ);

Loading…
Cancel
Save