Fix compilation error (#490)

This commit is contained in:
KonradStaniec 2022-03-18 15:53:51 +01:00 committed by GitHub
parent 0e20fd6565
commit e794c149f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1053,7 +1053,7 @@ proc tryfinalizeConnection(socket: UtpSocket, p: Packet) =
socket.ackNr = p.header.seqNr - 1
debug "Received Syn-Ack finalizing connection",
socketAckNr = socker.ackNr
socketAckNr = socket.ackNr
if (not socket.connectionFuture.finished()):
socket.connectionFuture.complete()