Ignore:
Timestamp:
Apr 20, 2010, 11:14:00 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #3136 "slashes in magnet names" -- fixed in trunk for 2.00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent-magnet.c

    r10390 r10502  
    7676            int i;
    7777            struct tr_incomplete_metadata * m;
    78             int n = ( size + ( METADATA_PIECE_SIZE - 1 ) ) / METADATA_PIECE_SIZE;
    79             dbgmsg( tor, "there are %d pieces", n );
     78            const int n = ( size + ( METADATA_PIECE_SIZE - 1 ) ) / METADATA_PIECE_SIZE;
     79            dbgmsg( tor, "metadata is %d bytes in %d pieces", size, n );
    8080
    8181            m = tr_new( struct tr_incomplete_metadata, 1 );
Note: See TracChangeset for help on using the changeset viewer.