Made XMPP stream terminate if the host address could not be resolved.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2768 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
fbfef23187
commit
1546f9fbf7
|
@ -120,8 +120,8 @@ bool JBSocket::connect(bool& terminated, const char* newAddr, int newPort)
|
|||
m_error = "Resolver failure";
|
||||
DDebug(m_engine,DebugWarn,"Stream. Failed to resolve '%s' [%p]",
|
||||
m_remoteDomain.safe(),m_stream);
|
||||
terminated = (m_socket == 0);
|
||||
terminate();
|
||||
terminated = m_socket == 0;
|
||||
return false;
|
||||
}
|
||||
DDebug(m_engine,DebugInfo,"Stream. Attempt to connect to '%s:%d' [%p]",
|
||||
|
|
Loading…
Reference in New Issue