(trunk gtk) Clean up r11086
This commit is contained in:
parent
20432d933e
commit
fc15c5ba4b
|
@ -546,13 +546,13 @@ static char *
|
|||
torrentTrackerString( tr_torrent * tor )
|
||||
{
|
||||
int i;
|
||||
GString * str = g_string_new( "" );
|
||||
GString * str = g_string_new( NULL );
|
||||
const tr_info * inf = tr_torrentInfo( tor );
|
||||
|
||||
for( i = 0; i < inf->trackerCount; ++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 );
|
||||
|
|
Loading…
Reference in New Issue