]> granicus.if.org Git - transmission/commitdiff
(trunk libT) handle 404 errors more gracefully. error reported by Longinus00 in...
authorCharles Kerr <charles@transmissionbt.com>
Sun, 14 Feb 2010 03:54:35 +0000 (03:54 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sun, 14 Feb 2010 03:54:35 +0000 (03:54 +0000)
libtransmission/announcer.c

index 489842646e6afe941fd1831dc0d03f1d1a8e3094..dbb7f9d19bd61df1c8ad7f849d6e1be5f41df7bd 100644 (file)
@@ -1452,6 +1452,7 @@ onAnnounceDone( tr_session   * session,
              * request without modifications. */
             if( tr_torrentIsPrivate( tier->tor ) || ( tier->tor->info.trackerCount < 2 ) )
                 publishErrorMessageAndStop( tier, _( "Tracker returned a 4xx message" ) );
+            tier->announceAt = ~(time_t)0;
             tier->manualAnnounceAllowedAt = ~(time_t)0;
         }
         else if( 500 <= responseCode && responseCode <= 599 )