mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
Use dummy callbacks in peerIoReconnect.
This commit is contained in:
parent
44e6e4a8f2
commit
5a2710c9da
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue