moved Append functs

main
Tom Early 4 years ago
parent 090b7379ea
commit e5663826fb

@ -306,6 +306,9 @@ void CController::SendToReflector(std::shared_ptr<CTranscoderPacket> packet)
socket.Send(packet->GetTCPacket());
// the socket will automatically close after sending
#ifdef DEBUG
AppendWave(packet);
if (packet->IsSecond())
AppendM17(packet);
if (0 == packet->GetSequence())
Dump(packet, "Complete:");
#endif
@ -347,9 +350,6 @@ void CController::RouteDmrPacket(std::shared_ptr<CTranscoderPacket> packet)
send_mux.lock();
SendToReflector(packet);
send_mux.unlock();
#ifdef DEBUG
AppendWave(packet);
#endif
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.