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-string.c

    r1241 r1365  
    875875    assert(bkpinfo != NULL);
    876876
    877     if (bkpinfo->media_size[g_current_media_number] <= 0) {
     877    if (bkpinfo->media_size <= 0L) {
    878878        sprintf(outstr, _("Volume %d: %'lld kilobytes archived so far"),
    879879                g_current_media_number, g_tape_posK);
     
    885885        percentage =
    886886            (int) (g_tape_posK / 10 /
    887                    bkpinfo->media_size[g_current_media_number]);
     887                   bkpinfo->media_size);
    888888        if (percentage > 100) {
    889889            percentage = 100;
     
    893893        percentage =
    894894            (int) (space_occupied_by_cd(bkpinfo->scratchdir) * 100 / 1024 /
    895                    bkpinfo->media_size[g_current_media_number]);
     895                   bkpinfo->media_size);
    896896        sprintf(outstr, "%s %d: [",
    897897                bkpinfo->backup_media_string,
Note: See TracChangeset for help on using the changeset viewer.