Changeset 2105


Ignore:
Timestamp:
Jun 16, 2007, 10:04:46 PM (15 years ago)
Author:
charles
Message:

fix oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/file_selection/cli/transmissioncli.c

    r2104 r2105  
    9494
    9595static void
    96 progress_func( const meta_info_builder_t * builder     UNUSED,
     96progress_func( const meta_info_builder_t * builder,
    9797               size_t                      pieceIndex,
    9898               int                       * abortFlag   UNUSED,
    9999               void                      * userData    UNUSED )
    100100{
    101     double percent = (double)pieceIndex / pieceCount;
     101    double percent = (double)pieceIndex / builder->pieceCount;
    102102    printf( "%d%% done (on block %lu of %lu)\n",
    103103            (int)(100.0*percent + 0.5),
    104             pieceIndex, pieceCount );
     104            pieceIndex, builder->pieceCount );
    105105}
    106106
Note: See TracChangeset for help on using the changeset viewer.