1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00

Don't call tr_utpClose in toggle_utp.

The uTP timer needs to run even when uTP has been disabled, or else the
uTP sockets will never time out.
This commit is contained in:
Juliusz Chroboczek 2011-02-18 00:43:45 +00:00
parent 2729d3c291
commit a348c5d421

View file

@ -1990,8 +1990,8 @@ toggle_utp( void * data )
session->isUTPEnabled = !session->isUTPEnabled; session->isUTPEnabled = !session->isUTPEnabled;
if( !session->isUTPEnabled ) /* But don't call tr_utpClose -- see reset_timer in tr-utp.c for an
tr_utpClose( session ); explanation. */
} }
void void