X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fnet%2Finet.cpp;h=f44b1c0b08f0184ed3774e4da25018934b42bdea;hb=cc2e643d6ec3025db3fb6f0a4c1f77af05cf1026;hp=8e75cd89dfb1eb930b3e55a0217a93e42ab03e15;hpb=88bbb4039aa274c7f41ebe3a18085b63427e5475;p=libs%2Fnet.git diff --git a/source/net/inet.cpp b/source/net/inet.cpp index 8e75cd8..f44b1c0 100644 --- a/source/net/inet.cpp +++ b/source/net/inet.cpp @@ -1,6 +1,6 @@ #include "platform_api.h" -#include #include "inet.h" +#include #include "sockaddr_private.h" using namespace std; @@ -8,12 +8,6 @@ using namespace std; namespace Msp { namespace Net { -InetAddr::InetAddr(): - port(0) -{ - fill(addr, addr+4, 0); -} - InetAddr::InetAddr(const SysAddr &sa) { const sockaddr_in &sai = reinterpret_cast(sa.addr);