Ignore:
Timestamp:
Jul 15, 2007, 7:12:54 PM (15 years ago)
Author:
charles
Message:

make tr_torrentStat() const.
malloc, rather than calloc, the buffer in strndup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2359 r2360  
    529529}
    530530
    531 tr_stat_t * tr_torrentStat( tr_torrent_t * tor )
     531const tr_stat_t *
     532tr_torrentStat( tr_torrent_t * tor )
    532533{
    533534    tr_stat_t * s;
Note: See TracChangeset for help on using the changeset viewer.