summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
{