Ignore:
Timestamp:
Aug 18, 2009, 2:37:58 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3333@localhost: bruno | 2009-08-08 01:58:31 +0200

  • bkpinfo->prefix is now dynamically assigned
  • Fix newt mondoarchive
File:
1 edited

Legend:

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

    r2321 r2322  
    804804{
    805805    int i;
     806    char *p = NULL;
    806807
    807808    log_msg(1, "Hi");
     
    832833        strcpy(bkpinfo->isodir, MONDO_CACHE);
    833834    }
    834     strcpy(bkpinfo->prefix, STD_PREFIX);
     835    mr_asprintf(&p, "%s", STD_PREFIX);
     836    bkpinfo->prefix = p;
    835837    bkpinfo->scratchdir = NULL;
    836838    bkpinfo->tmpdir = NULL;
Note: See TracChangeset for help on using the changeset viewer.