mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +00:00
(trunk gtk) Clean up r11086
This commit is contained in:
parent
20432d933e
commit
fc15c5ba4b
1 changed files with 2 additions and 2 deletions
|
@ -546,13 +546,13 @@ static char *
|
||||||
torrentTrackerString( tr_torrent * tor )
|
torrentTrackerString( tr_torrent * tor )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
GString * str = g_string_new( "" );
|
GString * str = g_string_new( NULL );
|
||||||
const tr_info * inf = tr_torrentInfo( tor );
|
const tr_info * inf = tr_torrentInfo( tor );
|
||||||
|
|
||||||
for( i = 0; i < inf->trackerCount; ++i )
|
for( i = 0; i < inf->trackerCount; ++i )
|
||||||
{
|
{
|
||||||
const tr_tracker_info * t = &inf->trackers[i];
|
const tr_tracker_info * t = &inf->trackers[i];
|
||||||
str = g_string_append( str, t->announce );
|
g_string_append( str, t->announce );
|
||||||
}
|
}
|
||||||
|
|
||||||
return g_string_free( str, FALSE );
|
return g_string_free( str, FALSE );
|
||||||
|
|
Loading…
Reference in a new issue