diff options
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; } |