mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk libT) #2518: r9334 overzealously alarmist wrt unresponsive trackers
This commit is contained in:
parent
d9e4ddab1f
commit
baa860e6ce
1 changed files with 4 additions and 3 deletions
|
@ -1206,10 +1206,11 @@ onAnnounceDone( tr_session * session,
|
||||||
tr_strlcpy( tier->lastAnnounceStr, buf,
|
tr_strlcpy( tier->lastAnnounceStr, buf,
|
||||||
sizeof( tier->lastAnnounceStr ) );
|
sizeof( tier->lastAnnounceStr ) );
|
||||||
|
|
||||||
/* if the repsonse may require intervention, notify the user;
|
/* if the response is serious, *and* if the response may require
|
||||||
* otherwise, just log it */
|
* human intervention, then notify the user... otherwise just log it */
|
||||||
if( responseCode >= 400 )
|
if( responseCode >= 400 )
|
||||||
publishWarning( tier, buf );
|
if( tr_torrentIsPrivate( tier->tor ) || ( tier->tor->info.trackerCount < 2 ) )
|
||||||
|
publishWarning( tier, buf );
|
||||||
tr_torinf( tier->tor, "%s", buf );
|
tr_torinf( tier->tor, "%s", buf );
|
||||||
dbgmsg( tier, "%s", buf );
|
dbgmsg( tier, "%s", buf );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue