X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsocket.cpp;h=89c9969ffcbd0f7b657a3409ca7b37822bb098a7;hb=ac7e37c8542159fa0efa48b43c9ab346762f1638;hp=ba35d2b0a632efa68f9677fcdfe7dec0004a8946;hpb=2cf4b614e6c23bfc6d47da2ec4b1932ee2f62cf0;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/socket.cpp b/src/socket.cpp index ba35d2b0a..89c9969ff 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -22,8 +22,7 @@ #include "inspircd.h" -#include "socket.h" -#include "socketengine.h" + using irc::sockets::sockaddrs; /** This will bind a socket to a port. It works for UDP/TCP. @@ -219,8 +218,6 @@ bool irc::sockets::satoap(const irc::sockets::sockaddrs& sa, std::string& addr, return !addr.empty(); } -static const char all_zero[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 }; - std::string irc::sockets::sockaddrs::str() const { if (sa.sa_family == AF_INET)