Show torrent comment for -i.

This commit is contained in:
Josh Elsasser 2006-12-02 05:32:54 +00:00
parent ff13d6e71b
commit f1bfa9f045
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@ int main( int argc, char ** argv )
printf( "size: %"PRIu64" (%"PRIu64" * %d + %"PRIu64")\n",
info->totalSize, info->totalSize / info->pieceSize,
info->pieceSize, info->totalSize % info->pieceSize );
if( info->comment && info->comment[0] )
{
printf( "comment: %s\n", info->comment );
}
printf( "file(s):\n" );
for( i = 0; i < info->fileCount; i++ )
{