Changeset 2394


Ignore:
Timestamp:
Jul 18, 2007, 5:31:00 PM (15 years ago)
Author:
joshe
Message:

Fix cli so that it can exit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/transmissioncli.c

    r2369 r2394  
    248248            gotsig = 0;
    249249            tr_torrentStop( tor );
     250            tr_natTraversalEnable( h, 0 );
    250251        }
    251252
     
    282283        {
    283284            chars = snprintf( string, sizeof string, "Stopping..." );
     285        }
     286        else if( s->status & TR_STATUS_INACTIVE )
     287        {
     288            break;
    284289        }
    285290        if( ( signed )sizeof string > chars )
Note: See TracChangeset for help on using the changeset viewer.