Scream louder when failed to obtain a sctp socket. Changed debug level.

git-svn-id: http://voip.null.ro/svn/yate@4504 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
andrei 2011-07-14 12:24:29 +00:00
parent 06645fc1be
commit f53f8414ed
1 changed files with 3 additions and 3 deletions

View File

@ -333,7 +333,7 @@ bool ListenerThread::init(const NamedList& param)
m.userData(s);
TelEngine::destruct(s);
if (!(Engine::dispatch(m) && soc)) {
DDebug("ListenerThread",DebugWarn,"Could not obtain SctpSocket");
Debug("ListenerThread",DebugConf,"Could not obtain SctpSocket");
return false;
}
m_socket = soc;
@ -629,7 +629,7 @@ bool Transport::bindSocket()
m.userData(s);
TelEngine::destruct(s);
if (!(Engine::dispatch(m) && soc)) {
DDebug("ListenerThread",DebugWarn,"Could not obtain SctpSocket");
Debug(this,DebugConf,"Could not obtain SctpSocket");
return false;
}
socket = soc;
@ -748,7 +748,7 @@ bool Transport::connectSocket()
m.userData(s);
TelEngine::destruct(s);
if (!(Engine::dispatch(m) && sock)) {
DDebug(this,DebugNote,"Could not obtain SctpSocket");
Debug(this,DebugConf,"Could not obtain SctpSocket");
return false;
}
sock->create(AF_INET,m_streamer ? SOCK_STREAM : SOCK_SEQPACKET,IPPROTO_SCTP);