Show torrent creator for -i.

This commit is contained in:
Josh Elsasser 2006-12-02 05:39:27 +00:00
parent f1bfa9f045
commit b88db6b0ae
1 changed files with 5 additions and 1 deletions

View File

@ -134,10 +134,14 @@ 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] )
if( info->comment[0] )
{
printf( "comment: %s\n", info->comment );
}
if( info->creator[0] )
{
printf( "creator: %s\n", info->creator );
}
printf( "file(s):\n" );
for( i = 0; i < info->fileCount; i++ )
{