Changeset 919


Ignore:
Timestamp:
Sep 25, 2006, 7:18:47 AM (15 years ago)
Author:
joshe
Message:

Fix logic error in exit check, this time on the right branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nat-traversal/gtk/main.c

    r864 r919  
    545545  /* keep going if we haven't hit the exit timeout and
    546546     we either have torrents left or nat traversal is stopping */
    547   if(time(NULL) - data->started < TRACKER_EXIT_TIMEOUT &&
    548      !tr_backend_torrents_stopped(data->cbdata->back) &&
    549      TR_NAT_TRAVERSAL_DISABLED != natstat) {
     547  if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT &&
     548      ( !tr_backend_torrents_stopped( data->cbdata->back ) &&
     549        TR_NAT_TRAVERSAL_DISABLED != natstat ) ) {
    550550    updatemodel(data->cbdata);
    551551    return TRUE;
Note: See TracChangeset for help on using the changeset viewer.