Changeset 2291 in MondoRescue for branches/2.2.10/mondo/src/lib/mr_conf.c


Ignore:
Timestamp:
Jul 22, 2009, 2:11:26 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix a printing error in mindi for the tar command
  • Fix all mr_asprintf which had no second param as a string

(report bug fix done originaly in 2.2.9)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/lib/mr_conf.c

    r1594 r2291  
    108108    CONF = fopen(filename, "r");
    109109
    110     mr_asprintf(&mr_conf_filename,filename);
     110    mr_asprintf(&mr_conf_filename, "%s", filename);
    111111
    112112    /*if file is empty or not exist => error */
     
    232232        return(p);
    233233    }
    234     mr_asprintf(&q, p);
     234    mr_asprintf(&q, "%s", p);
    235235
    236236    if (*p != '"') {
Note: See TracChangeset for help on using the changeset viewer.