Ignore:
Timestamp:
Feb 15, 2011, 3:18:51 PM (11 years ago)
Author:
jordan
Message:

(trunk) make tr_torrentName() a public function.

This has been a private function in libtransmission for awhile now but it makes more sense as a public function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpcimpl.c

    r11834 r11890  
    534534        tr_bencDictAddReal( d, key, st->metadataPercentComplete );
    535535    else if( tr_streq( key, keylen, "name" ) )
    536         tr_bencDictAddStr( d, key, inf->name );
     536        tr_bencDictAddStr( d, key, tr_torrentName( tor ) );
    537537    else if( tr_streq( key, keylen, "percentDone" ) )
    538538        tr_bencDictAddReal( d, key, st->percentDone );
Note: See TracChangeset for help on using the changeset viewer.