From 3f9a55b1944b59036e05c6cfa707f4fab314b274 Mon Sep 17 00:00:00 2001 From: Josh Elsasser Date: Wed, 18 Oct 2006 21:09:34 +0000 Subject: [PATCH] Fix a stupid mistake that could cause the fastresume data to not be saved on exit. --- gtk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/main.c b/gtk/main.c index 75a7d04e4..e430b965d 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -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;