Ignore:
Timestamp:
Oct 9, 2011, 12:21:36 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) #4530 "lastAnnounceResult is not properly set" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r12955 r12956  
    11131113                publishWarning( tier, str );
    11141114            }
     1115            else
     1116            {
     1117                tr_strlcpy( tier->lastAnnounceStr, _( "Success" ),
     1118                            sizeof( tier->lastAnnounceStr ) );
     1119            }
    11151120
    11161121            if(( i = response->min_interval ))
     
    11271132                publishPeersPex( tier, response->seeders, response->leechers,
    11281133                                 response->pex6, response->pex6_count );
    1129 
    1130             if( !*tier->lastAnnounceStr )
    1131                 tr_strlcpy( tier->lastAnnounceStr, _( "Success" ),
    1132                             sizeof( tier->lastAnnounceStr ) );
    11331134
    11341135            tier->isRunning = data->isRunningOnSuccess;
Note: See TracChangeset for help on using the changeset viewer.