Changeset 1536


Ignore:
Timestamp:
Mar 6, 2007, 12:56:30 AM (15 years ago)
Author:
joshe
Message:

Fix calloc args.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r1525 r1536  
    228228        inf->multifile = 1;
    229229        inf->fileCount = list->val.l.count;
    230         inf->files     = calloc( inf->fileCount * sizeof( tr_file_t ), 1 );
     230        inf->files     = calloc( inf->fileCount, sizeof( tr_file_t ) );
    231231
    232232        for( i = 0; i < list->val.l.count; i++ )
Note: See TracChangeset for help on using the changeset viewer.