Ignore:
Timestamp:
Aug 18, 2009, 2:37:58 PM (11 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-cli.c

    r2321 r2322  
    12261226
    12271227    if (flag_set['p']) {
    1228         strncpy(bkpinfo->prefix, flag_val['p'], MAX_STR_LEN / 4);
     1228        mr_free(bkpinfo->prefix);
     1229        mr_asprintf(&tmp1, "%s", flag_val['p']);
     1230        bkpinfo->prefix = tmp1;
    12291231        log_msg(1,"Prefix forced to %s",bkpinfo->prefix);
    12301232    }
Note: See TracChangeset for help on using the changeset viewer.