Changeset 1628 in MondoRescue for branches/stable/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Sep 9, 2007, 3:14:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondorestore.c
r1626 r1628 438 438 read_cfg_file_into_bkpinfo(g_mondo_cfg_file, bkpinfo); 439 439 iamhere("Done loading config file; resizing ML"); 440 strcpy(tmp, bkpinfo->prefix);441 440 if (popup_and_get_string 442 ("Prefix", "Prefix of your ISO images ?", tmp, MAX_STR_LEN / 4)) { 443 strcpy(bkpinfo->prefix, tmp); 441 ("Prefix", "Prefix of your ISO images ?", bkpinfo->prefix, MAX_STR_LEN / 4)) { 444 442 mr_msg(1, "Prefix set to %s",bkpinfo->prefix); 445 443 } … … 3047 3045 3048 3046 if (argc == 3 && strcmp(argv[1], "-p") == 0) { 3049 strcpy(bkpinfo->prefix,argv[2]);3047 mr_allocstr(bkpinfo->prefix,argv[2]); 3050 3048 mr_msg(1,"Prefix forced to %s",bkpinfo->prefix); 3051 3049 }
Note:
See TracChangeset
for help on using the changeset viewer.