Changeset 8717


Ignore:
Timestamp:
Jun 17, 2009, 10:07:16 PM (13 years ago)
Author:
charles
Message:

(trunk libT) tweak benc dict preallocation in resume.c as suggested by Elbandi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/resume.c

    r8588 r8717  
    485485        return;
    486486
    487     tr_bencInitDict( &top, 14 );
     487    tr_bencInitDict( &top, 32 ); /* arbitrary "big enough" number */
    488488    tr_bencDictAddInt( &top, KEY_ACTIVITY_DATE,
    489489                       tor->activityDate );
Note: See TracChangeset for help on using the changeset viewer.