Ignore:
Timestamp:
Apr 17, 2008, 1:29:45 AM (16 years ago)
Author:
Bruno Cornec
Message:

mondo.libmondo-cli.patch (Mark Pinkerton <Mark.Pinkerton_at_emageon.com>) modified to not duplicate the newt initialization stuff (we should rather remove them in mondoarchive)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mondo/src/common/libmondo-devices.c

    r1916 r1917  
    21772177                }
    21782178            } else {
    2179                 sz_size = 0;
     2179                strcpy(sz_size, "0");
    21802180            }
    21812181            for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
    21822182                bkpinfo->media_size[i] = atoi(sz_size);
    21832183            }
    2184             if (bkpinfo->media_size[0] <= 0) {
     2184            if (bkpinfo->media_size[0] < 0) {
    21852185                log_to_screen("User has chosen not to backup the PC");
    21862186                finish(1);
Note: See TracChangeset for help on using the changeset viewer.