mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
(trunk utils) #3873 "transmission-show should list webseeds" -- fixed.
This commit is contained in:
parent
fde6b36e57
commit
9f424f7c9b
1 changed files with 13 additions and 1 deletions
14
utils/show.c
14
utils/show.c
|
@ -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
|
||||
**/
|
||||
|
|
Loading…
Reference in a new issue