Ignore:
Timestamp:
Feb 1, 2010, 12:35:38 AM (12 years ago)
Author:
charles
Message:

(trunk libT) another announcer tweak related to #2828 -- keep the last known good value of lastAnnouncePeerCount even if subsequent announces fail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r10058 r10059  
    17961796                    st->lastAnnounceTime = tier->lastAnnounceTime;
    17971797                    tr_strlcpy( st->lastAnnounceResult, tier->lastAnnounceStr, sizeof( st->lastAnnounceResult ) );
    1798                     if(( st->lastAnnounceSucceeded = tier->lastAnnounceSucceeded )) {
    1799                         st->lastAnnouncePeerCount = tier->lastAnnouncePeerCount;
    1800                     }
     1798                    st->lastAnnounceSucceeded = tier->lastAnnounceSucceeded;
     1799                    st->lastAnnouncePeerCount = tier->lastAnnouncePeerCount;
    18011800                }
    18021801
Note: See TracChangeset for help on using the changeset viewer.