summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-06-16 12:28:14 +0200
committerLukas Pioch <lukas@zgow.de>2017-06-16 14:06:27 +0200
commit705132011aedfff2334bd598e473c2b6acd74799 (patch)
tree1fff29e40f227c121c724a15eb146bf2df96e6f9 /src
parentProtocol: Do not assume anything about unknown packets. (#3647) (diff)
downloadcuberite-705132011aedfff2334bd598e473c2b6acd74799.tar
cuberite-705132011aedfff2334bd598e473c2b6acd74799.tar.gz
cuberite-705132011aedfff2334bd598e473c2b6acd74799.tar.bz2
cuberite-705132011aedfff2334bd598e473c2b6acd74799.tar.lz
cuberite-705132011aedfff2334bd598e473c2b6acd74799.tar.xz
cuberite-705132011aedfff2334bd598e473c2b6acd74799.tar.zst
cuberite-705132011aedfff2334bd598e473c2b6acd74799.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/HostnameLookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/HostnameLookup.cpp b/src/OSSupport/HostnameLookup.cpp
index 867472e8c..122689f59 100644
--- a/src/OSSupport/HostnameLookup.cpp
+++ b/src/OSSupport/HostnameLookup.cpp
@@ -106,7 +106,7 @@ void cHostnameLookup::Callback(int a_ErrCode, addrinfo * a_Addr)
// If only unsupported families were reported, call the Error handler:
if (!HasResolved)
{
- m_Callbacks->OnError(EAI_NODATA, ErrorString(EAI_NODATA));
+ m_Callbacks->OnError(EAI_NONAME, ErrorString(EAI_NONAME));
}
else
{