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
1 changed files with 1 additions and 1 deletions

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;