Minor cleanup
authorMikko Rasa <tdb@tdb.fi>
Wed, 14 Sep 2016 11:27:15 +0000 (14:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 14 Sep 2016 11:27:15 +0000 (14:27 +0300)
source/net/resolve.cpp
source/net/socket.cpp

index ce47b51..6de8838 100644 (file)
@@ -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
index 1a5898b..031d077 100644 (file)
@@ -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();