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:
parent
b3e4fc64c5
commit
0b58e7afa7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue