1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

Fix a stupid mistake that could cause the fastresume data to not be saved on exit.

This commit is contained in:
Josh Elsasser 2006-10-18 21:09:34 +00:00
parent 0ad7773480
commit 3f9a55b194

View file

@ -545,7 +545,7 @@ exitcheck(gpointer gdata) {
/* keep going if we haven't hit the exit timeout and
we either have torrents left or nat traversal is stopping */
if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT &&
( !tr_backend_torrents_stopped( data->cbdata->back ) &&
( !tr_backend_torrents_stopped( data->cbdata->back ) ||
TR_NAT_TRAVERSAL_DISABLED != natstat ) ) {
updatemodel(data->cbdata);
return TRUE;