From 6f6845971a21c2d7e04b87925f5e657f0f20ca0d Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 14 Sep 2016 14:27:15 +0300 Subject: [PATCH] Minor cleanup --- source/net/resolve.cpp | 11 ----------- source/net/socket.cpp | 1 - 2 files changed, 12 deletions(-) diff --git a/source/net/resolve.cpp b/source/net/resolve.cpp index ce47b51..6de8838 100644 --- a/source/net/resolve.cpp +++ b/source/net/resolve.cpp @@ -234,16 +234,5 @@ void Resolver::WorkerThread::main() } } - /*sockaddr sa; - unsigned size = fill_sockaddr(sa); - char hst[128]; - char srv[128]; - int err = getnameinfo(&sa, size, hst, 128, srv, 128, 0); - if(err==0) - { - host = hst; - serv = srv; - }*/ - } // namespace Net } // namespace Msp diff --git a/source/net/socket.cpp b/source/net/socket.cpp index 1a5898b..031d077 100644 --- a/source/net/socket.cpp +++ b/source/net/socket.cpp @@ -111,7 +111,6 @@ const IO::Handle &Socket::get_event_handle() return priv->event; } - void Socket::bind(const SockAddr &addr) { SockAddr::SysAddr sa = addr.to_sys(); -- 2.45.2