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/mondostructures.h

    r3137 r3150  
    2323 */
    2424
    25 
    26 /** @def MAX_NOOF_MEDIA The maximum number of media that can be used in any one backup. */
    27 
    28 ///* So we can override it in config.h: */
    29 //#ifndef MAX_NOOF_MEDIA
    30 #define MAX_NOOF_MEDIA 50
    31 //#endif
    3225
    3326/**
     
    344337
    345338  /**
    346    * An array containing the sizes of each media in our backup set, in MB.
    347    * For example, media 1's size would be stored in media_size[1].
    348    * Element 0 is unused.
     339   * A field containing the sizes of the media in our backup set, in MB.
    349340   * If the size should be autodetected, make it -1 (preferable) or 0.
    350    * @bug This should probably be only one variable, not an array.
    351    */
    352     long media_size[MAX_NOOF_MEDIA + 1];
     341   */
     342    long media_size;
    353343
    354344  /**
Note: See TracChangeset for help on using the changeset viewer.