Ignore:
Timestamp:
Jun 21, 2013, 6:48:23 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Fix #706 by removing usage of MAX_NOOF_MEDIA and an array for media_size in bkpinfo.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-files.c

    r3074 r3150  
    12591259    long long scratchLL;
    12601260
    1261     if (bkpinfo->media_size[1] <= 0) {
     1261    if (bkpinfo->media_size <= 0) {
    12621262        log_to_screen("Number of media required: UNKNOWN");
    12631263        return;
     
    12681268        (long long) (noof_sets) * (long long) (bkpinfo->optimal_set_size)
    12691269        + (long long) (size_of_all_biggiefiles_K());
    1270     scratchLL = (scratchLL / 1024) / bkpinfo->media_size[1];
     1270    scratchLL = (scratchLL / 1024) / bkpinfo->media_size;
    12711271    scratchLL++;
    12721272    if (bkpinfo->use_lzo) {
Note: See TracChangeset for help on using the changeset viewer.