Changeset 49 in MondoRescue for trunk/mondo/mondo/common/libmondo-verify.c


Ignore:
Timestamp:
Oct 7, 2005, 7:03:07 PM (19 years ago)
Author:
bcornec
Message:

some bugs corrected (size_t, & for getline, ...) + indent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-verify.c

    r48 r49  
    403403    FILE *pin;
    404404
    405     int n = 0;
     405    size_t n = 0;
    406406
    407407    /*@ long *********************************************************** */
     
    458458        if (pin) {
    459459            for (getline(&tmp, &n, pin); !feof(pin);
    460                  fgets(&tmp, &n, pin)) {
     460                 getline(&tmp, &n, pin)) {
    461461                if (bkpinfo->use_star) {
    462462                    if (!strstr(tmp, "diffopts=")) {
Note: See TracChangeset for help on using the changeset viewer.