diff --git a/libraries/fc/src/network/udp_socket.cpp b/libraries/fc/src/network/udp_socket.cpp index 5b09ac6c652ba9af9c1f29acdd2502d8791bac8b..c233d23b41f41107427f2d2277f4f5d2d956a691 100644 --- a/libraries/fc/src/network/udp_socket.cpp +++ b/libraries/fc/src/network/udp_socket.cpp @@ -44,6 +44,7 @@ namespace fc try { my->_sock->send_to(boost::asio::buffer(buffer, length), to); + return; } catch(const boost::system::system_error& e) { @@ -66,6 +67,7 @@ namespace fc try { my->_sock->send_to(boost::asio::buffer(buffer.get(), length), to); + return; } catch(const boost::system::system_error& e) {