diff --git a/src/comm/LinkManager.cc b/src/comm/LinkManager.cc index 4e82436..129e40b 100644 --- a/src/comm/LinkManager.cc +++ b/src/comm/LinkManager.cc @@ -132,9 +132,9 @@ QList LinkManager::getLinksForProtocol(ProtocolInterface* protoc ProtocolInterface* LinkManager::getProtocolForLink(LinkInterface* link) { _dataMutex.lock(); - ProtocolInterface* interface = _protocolLinks.key(link); + ProtocolInterface* protocol = _protocolLinks.key(link); _dataMutex.unlock(); - return interface; + return protocol; } bool LinkManager::connectAll()