1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

Revert a change that was made on the wrong branch.

This commit is contained in:
Josh Elsasser 2006-09-25 07:17:43 +00:00
parent c5614964a3
commit bec163be16

View file

@ -546,10 +546,9 @@ exitcheck(gpointer gdata) {
struct exitdata *data = gdata;
/* keep going if we still have torrents and haven't hit the exit timeout */
if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT &&
( !tr_backend_torrents_stopped( data->cbdata->back ) ||
TR_NAT_TRAVERSAL_DISABLED != natstat ) ) {
updatemodel( data->cbdata );
if(time(NULL) - data->started < TRACKER_EXIT_TIMEOUT &&
!tr_backend_torrents_stopped(data->cbdata->back)) {
updatemodel(data->cbdata);
return TRUE;
}