diff options
| author | 2006-08-11 12:15:03 +0000 | |
|---|---|---|
| committer | 2006-08-11 12:15:03 +0000 | |
| commit | d17465716790010b6e3221f9ce49272110276ccf (patch) | |
| tree | d929b9c717e789d818d0eefbfe6e018974ae48f6 /src/dns.cpp | |
| parent | Move all of the xline stuff into class XLineManager, make an instance of it i... (diff) | |
Now two types of log macro, log() and ilog(). log() assumes an InspIRCd object called ServerInstance, ilog() takes an InspIRCd object as first param.
TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
| -rw-r--r-- | src/dns.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index b67fef8d9..35b3c6825 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -194,10 +194,7 @@ int DNSRequest::SendRequests(const DNSHeader *header, const int length, QueryTyp addr.sin_port = htons(DNS::QUERY_PORT); #endif if (sendto(DNS::GetMasterSocket(), payload, length + 12, 0, (sockaddr *) &addr, sizeof(addr)) == -1) - { - log(DEBUG,"Error in sendto! (%s)",strerror(errno)); return -1; - } return 0; } |
