Ignore:
Timestamp:
Apr 30, 2007, 1:50:20 AM (13 years ago)
Author:
Bruno Cornec
Message:

MAX_NOOF_MEDIA is gone and media_size in bkpinfo struct is now a single long field and not an array anymore

File:
1 edited

Legend:

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

    r1213 r1365  
    11631163    long long scratchLL;
    11641164
    1165     if (bkpinfo->media_size[1] <= 0 || bkpinfo->backup_media_type == nfs) {
     1165    if (bkpinfo->media_size <= 0L || bkpinfo->backup_media_type == nfs) {
    11661166        log_to_screen("Number of media required: UNKNOWN");
    11671167        return;
     
    11721172        (long long) (noof_sets) * (long long) (bkpinfo->optimal_set_size)
    11731173        + (long long) (size_of_all_biggiefiles_K(bkpinfo));
    1174     scratchLL = (scratchLL / 1024) / bkpinfo->media_size[1];
     1174    scratchLL = (scratchLL / 1024) / bkpinfo->media_size;
    11751175    scratchLL++;
    11761176    if (bkpinfo->use_lzo) {
Note: See TracChangeset for help on using the changeset viewer.