1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

(trunk libT) #2518: r9334 overzealously alarmist wrt unresponsive trackers

This commit is contained in:
Charles Kerr 2009-10-22 01:28:39 +00:00
parent d9e4ddab1f
commit baa860e6ce

View file

@ -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 );