Changeset 2394 in MondoRescue for branches/2.2.9/mondo/src/mondorestore
- Timestamp:
- Sep 12, 2009, 2:53:02 AM (15 years ago)
- Location:
- branches/2.2.9/mondo/src/mondorestore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c
r2380 r2394 1933 1933 /** int **************************************************************/ 1934 1934 int i = 0; 1935 int res = 0;1936 1935 int currline = 0; 1937 1936 int finished = FALSE; … … 1975 1974 bEdit, bDelete, bReload, bCancel, bOK, NULL); 1976 1975 while (!finished) { 1977 flaws_str = evaluate_mountlist(mountlist , &res);1976 flaws_str = evaluate_mountlist(mountlist); 1978 1977 if (strlen(flaws_str) > 0) { 1979 1978 mr_asprintf(&flaws_str_A, "%s", flaws_str + 1); … … 2006 2005 2007 2006 if (b_res == bOK) { 2008 flaws_str = evaluate_mountlist(mountlist , &res);2009 mr_free(flaws_str);2010 if (!res) {2007 flaws_str = evaluate_mountlist(mountlist); 2008 if (flaws_str != NULL) { 2009 mr_free(flaws_str); 2011 2010 finished = 2012 2011 ask_me_yes_or_no -
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.h
r2384 r2394 137 137 struct raidlist_itself *); 138 138 void edit_raidrec_additional_vars(struct raid_device_record *); 139 char *evaluate_mountlist(struct mountlist_itself * , int *);139 char *evaluate_mountlist(struct mountlist_itself *); 140 140 int find_device_in_mountlist(struct mountlist_itself *, char *); 141 141 int find_next_free_index_in_disklist(struct list_of_disks *); -
branches/2.2.9/mondo/src/mondorestore/mondorestore.c
r2381 r2394 793 793 resize_mountlist_proportionately_to_suit_new_drives(mountlist); 794 794 } 795 flaws_str = evaluate_mountlist(mountlist , &res);796 if ( !res) {795 flaws_str = evaluate_mountlist(mountlist); 796 if (flaws_str != NULL) { 797 797 sprintf(tmp, 798 798 "Mountlist analyzed. Result: \"%s\" Switch to Interactive Mode?", … … 806 806 } 807 807 } 808 mr_free(flaws_str);809 808 810 809 save_mountlist_to_disk(mountlist, g_mountlist_fname); -
branches/2.2.9/mondo/src/mondorestore/mr-externs.h
r2380 r2394 109 109 extern bool g_restoring_live_from_netfs; 110 110 extern int fput_string_one_char_at_a_time(FILE *, char *); 111 extern char *evaluate_mountlist(struct mountlist_itself *mountlist , int *res);111 extern char *evaluate_mountlist(struct mountlist_itself *mountlist); 112 112 113 113
Note:
See TracChangeset
for help on using the changeset viewer.