]> git.tdb.fi Git - libs/net.git/commitdiff
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 ce47b51f8a4155e3de43b6651459b160e6b0a629..6de883895eeb05f4b88a5cdf2cabc66b483274ac 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 1a5898b694e9a8ea7179ad286457ead78871da64..031d077c44dcc194a095455d06dde3def3a62ccd 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();