1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 21:57:01 +00:00

fix: log the correct errno on libevent socket error

This commit is contained in:
Charles Kerr 2021-11-18 16:07:00 -06:00
parent b3e4fc64c5
commit 0b58e7afa7

View file

@ -1156,7 +1156,7 @@ static void gotError(tr_peerIo* io, short what, void* vhandshake)
}
else
{
dbgmsg(handshake, "libevent got an error what==%d, errno=%d (%s)", (int)what, errno, tr_strerror(errno));
dbgmsg(handshake, "libevent got an error what==%d, errno=%d (%s)", (int)what, errcode, tr_strerror(errcode));
tr_handshakeDone(handshake, false);
}
}