Changeset 7694


Ignore:
Timestamp:
Jan 13, 2009, 1:45:00 AM (12 years ago)
Author:
charles
Message:

(1.5x gtk) #1690: Torrent is completed without ever starting (because there's nothing to download)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5x/gtk/tr-torrent.c

    r7664 r7694  
    163163
    164164static void
    165 completenessChangedCallback( tr_torrent       * tor UNUSED,
     165completenessChangedCallback( tr_torrent       * tor,
    166166                             tr_completeness    completeness,
    167167                             void *             user_data )
    168168{
    169     if( completeness != TR_LEECH )
     169    if( ( completeness != TR_LEECH ) && ( tr_torrentStat( tor )->sizeWhenDone != 0 ) )
    170170        g_idle_add( notifyInMainThread, user_data );
    171171}
Note: See TracChangeset for help on using the changeset viewer.