renaming and added cast

This commit is contained in:
JanEggers
2020-10-13 15:57:21 +02:00
parent f7db00c08e
commit d7b552fce2
3 changed files with 7 additions and 5 deletions
@@ -391,9 +391,9 @@ namespace MQTTnet.Server
_connections.AddOrUpdate(connectPacket.ClientId, key =>
{
return connection;
}, (key, tempexistingConnection) =>
}, (key, tempExistingConnection) =>
{
existingConnection = tempexistingConnection;
existingConnection = tempExistingConnection;
return connection;
});