1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

Use dummy callbacks in peerIoReconnect.

This commit is contained in:
Juliusz Chroboczek 2011-02-18 00:24:45 +00:00
parent 44e6e4a8f2
commit 5a2710c9da

View file

@ -833,6 +833,9 @@ tr_peerIoReconnect( tr_peerIo * io )
io->socket = -1;
}
if( io->utp_socket != NULL ) {
UTP_SetCallbacks( io->utp_socket,
&dummy_utp_function_table,
NULL );
UTP_Close(io->utp_socket);
io->utp_socket = NULL;
}