(trunk utils) #3873 "transmission-show should list webseeds" -- fixed.

This commit is contained in:
Jordan Lee 2011-01-05 16:15:41 +00:00
parent fde6b36e57
commit 9f424f7c9b
1 changed files with 13 additions and 1 deletions

View File

@ -127,7 +127,7 @@ showInfo( const tr_info * inf )
**/
printf( "\nTRACKERS\n" );
for( i=0; i<(int)inf->trackerCount; ++i )
for( i=0; i<inf->trackerCount; ++i )
{
if( prevTier != inf->trackers[i].tier )
{
@ -138,6 +138,18 @@ showInfo( const tr_info * inf )
printf( " %s\n", inf->trackers[i].announce );
}
/**
***
**/
if( inf->webseedCount > 0 )
{
printf( "\nWEBSEEDS\n\n" );
for( i=0; i<inf->webseedCount; ++i )
printf( " %s\n", inf->webseeds[i] );
}
/**
*** Files
**/