1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

(trunk gtk) Clean up r11086

This commit is contained in:
Daniel Lee 2010-08-04 05:25:43 +00:00
parent 20432d933e
commit fc15c5ba4b

View file

@ -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 );