1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Fixed unresolved symbol in TCP Src channel plugin

This commit is contained in:
f4exb 2015-12-24 15:30:41 +01:00
parent 89d70b7375
commit 7fa649aacc

View File

@ -252,9 +252,9 @@ bool TCPSrc::handleMessage(const Message& cmd)
return true; return true;
} }
else if (MsgTCPConnection::match(cmd)) else if (MsgTCPSrcConnection::match(cmd))
{ {
MsgTCPConnection& con = (MsgTCPConnection&) cmd; MsgTCPSrcConnection& con = (MsgTCPSrcConnection&) cmd;
if (con.getConnect()) if (con.getConnect())
{ {
@ -292,8 +292,7 @@ void TCPSrc::closeAllSockets(Sockets* sockets)
void TCPSrc::onNewConnection() void TCPSrc::onNewConnection()
{ {
qDebug("TCPSrc::onNewConnection"); qDebug("TCPSrc::onNewConnection");
MsgTCPConnection *cmd = MsgTCPConnection::create(true); processNewConnection();
getInputMessageQueue()->push(cmd);
} }
void TCPSrc::processNewConnection() void TCPSrc::processNewConnection()
@ -341,7 +340,7 @@ void TCPSrc::processNewConnection()
void TCPSrc::onDisconnected() void TCPSrc::onDisconnected()
{ {
qDebug("TCPSrc::onDisconnected"); qDebug("TCPSrc::onDisconnected");
MsgTCPConnection *cmd = MsgTCPConnection::create(false); MsgTCPSrcConnection *cmd = MsgTCPSrcConnection::create(false, 0, QHostAddress::Any, 0);
getInputMessageQueue()->push(cmd); getInputMessageQueue()->push(cmd);
} }