mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
(trunk libT) #2372: 'Unregistered Torrent Pass' Pauses Download
This commit is contained in:
parent
ed512c215f
commit
23b3faada4
2 changed files with 8 additions and 1 deletions
|
@ -2607,7 +2607,7 @@ bandwidthPulse( void * vmgr )
|
|||
/* possibly stop torrents that have an error */
|
||||
tor = NULL;
|
||||
while(( tor = tr_torrentNext( mgr->session, tor )))
|
||||
if( tor->isRunning && (( tor->error == TR_STAT_TRACKER_ERROR ) || ( tor->error == TR_STAT_LOCAL_ERROR )))
|
||||
if( tor->isRunning && ( tor->error == TR_STAT_LOCAL_ERROR ))
|
||||
tr_torrentStop( tor );
|
||||
|
||||
managerUnlock( mgr );
|
||||
|
|
|
@ -1368,9 +1368,16 @@ enum
|
|||
|
||||
typedef enum
|
||||
{
|
||||
/* everything's fine */
|
||||
TR_STAT_OK = 0,
|
||||
|
||||
/* when we anounced to the tracker, we got a warning in the response */
|
||||
TR_STAT_TRACKER_WARNING = 1,
|
||||
|
||||
/* when we anounced to the tracker, we got an error in the response */
|
||||
TR_STAT_TRACKER_ERROR = 2,
|
||||
|
||||
/* local trouble, such as disk full or permissions error */
|
||||
TR_STAT_LOCAL_ERROR = 3
|
||||
}
|
||||
tr_stat_errtype;
|
||||
|
|
Loading…
Reference in a new issue