From 6bb5c177f5d504be1b328aa6bcf4a736eb594fbf Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 18 Oct 2016 18:06:03 +0100 Subject: [PATCH] Clean-up silly unlinking message. --- P25Gateway/P25Gateway.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/P25Gateway/P25Gateway.cpp b/P25Gateway/P25Gateway.cpp index e6a00c4..7c2ce84 100644 --- a/P25Gateway/P25Gateway.cpp +++ b/P25Gateway/P25Gateway.cpp @@ -273,10 +273,9 @@ void CP25Gateway::run() if (dstId == 9999U || reflector != NULL) { std::string callsign = lookup->find(srcId); - if (currentId != 9999U) + if (currentId != 9999U) { LogMessage("Unlinked from reflector %u by %s", currentId, callsign.c_str()); - if (currentId != 9999U) { remoteNetwork.writeUnlink(currentAddr, currentPort); remoteNetwork.writeUnlink(currentAddr, currentPort); remoteNetwork.writeUnlink(currentAddr, currentPort);