Changeset 891 for trunk/gtk


Ignore:
Timestamp:
Sep 23, 2006, 6:29:32 AM (15 years ago)
Author:
joshe
Message:

Fix logic error in exit check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r815 r891  
    547547
    548548  /* keep going if we still have torrents and haven't hit the exit timeout */
    549   if(time(NULL) - data->started < TRACKER_EXIT_TIMEOUT &&
    550      !tr_backend_torrents_stopped(data->cbdata->back)) {
    551     updatemodel(data->cbdata);
     549  if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT &&
     550     ( !tr_backend_torrents_stopped( data->cbdata->back ) ||
     551       TR_NAT_TRAVERSAL_DISABLED != natstat ) ) {
     552    updatemodel( data->cbdata );
    552553    return TRUE;
    553554  }
Note: See TracChangeset for help on using the changeset viewer.