return non-trivial value

This commit is contained in:
Andrew Meadows 2015-02-17 10:04:21 -08:00
parent b69ab6c80d
commit a7d6d6d561

View file

@ -325,7 +325,7 @@ int LimitedNodeList::findNodeAndUpdateWithDataFromPacket(const QByteArray& packe
SharedNodePointer matchingNode = sendingNodeForPacket(packet);
if (matchingNode) {
updateNodeWithDataFromPacket(matchingNode, packet);
return updateNodeWithDataFromPacket(matchingNode, packet);
}
// we weren't able to match the sender address to the address we have for this node, unlock and don't parse