Ignore:
Timestamp:
Jul 27, 2009, 7:50:18 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • popup_and_get_string needs an allocated buffer for the moment so fixing the calls with dyn. ones
  • Fix a bug in mem.c for mr_strcat, which wasn't modifying the right pointer level

Ported from 2.2.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-mountlist.c

    r2291 r2306  
    559559        } else {
    560560            log_msg(8, "Evaluating drive #%d (%s) within mountlist", i, drivelist->el[i].device);
    561             if ((tmp = evaluate_drive_within_mountlist(mountlist, drivelist->el[i].device)) == NULL) {
     561            tmp = evaluate_drive_within_mountlist(mountlist, drivelist->el[i].device);
     562            if (tmp == NULL) {
    562563                res++;
    563564            }
    564565        }
    565566        log_msg(8,"Entry: %d (%s)", i, drivelist->el[i].device);
    566         /* BCO: tmp can be NULL as well as flaws_str */
     567        /* BCO: tmp can be NULL */
    567568        if (tmp != NULL) {
    568569            log_msg(8,"Adding: %s to %s", tmp, flaws_str);
Note: See TracChangeset for help on using the changeset viewer.