Yet Another OSS Bug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@174 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
06e8310a41
commit
cd819316de
|
@ -407,8 +407,8 @@ bool OssHandler::received(Message &msg)
|
|||
}
|
||||
DataEndpoint *dd = static_cast<DataEndpoint *>(msg.userData());
|
||||
Debug(DebugInfo,"We are routing to device '%s'",dest.matchString(1).c_str());
|
||||
if (dd)
|
||||
dd->connect(chan);
|
||||
if (dd && chan->connect(dd))
|
||||
chan->deref();
|
||||
else {
|
||||
const char *direct = msg.getValue("direct");
|
||||
if (direct)
|
||||
|
|
Loading…
Reference in New Issue