Changeset 3611 in MondoRescue for branches/3.2/mondo/src/common/libmondo-files.c
- Timestamp:
- Nov 10, 2016, 9:09:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-files.c
r3610 r3611 1116 1116 /*@ buffers *************** */ 1117 1117 char *tmp = NULL; 1118 char *tmp1 = NULL; 1118 1119 char *mds = NULL; 1119 1120 … … 1142 1143 scratchLL++; 1143 1144 } 1145 tmp1 = number_to_text((int) (scratchLL + 1)); 1144 1146 if (scratchLL <= 1) { 1145 1147 mds = media_descriptor_string(bkpinfo->backup_media_type); 1146 1148 mr_asprintf(tmp, "Your backup will probably occupy a single %s. Maybe two.", mds); 1147 1149 mr_free(mds); 1148 } else if (scratchLL > 4) {1149 mr_asprintf(tmp, "Your backup will occupy one meeeeellion media! (maybe %s)", number_to_text((int) (scratchLL + 1)));1150 } else if (scratchLL > 5) { 1151 mr_asprintf(tmp, "Your backup will occupy one meeeeellion media! (maybe %s)", tmp1); 1150 1152 } else { 1151 mr_asprintf(tmp, "Your backup will occupy approximately %s media.", number_to_text((int) (scratchLL + 1)));1153 mr_asprintf(tmp, "Your backup will occupy approximately %s media.", tmp1); 1152 1154 } 1153 1155 if (scratchLL < 50) { 1154 1156 log_to_screen(tmp); 1155 1157 } 1158 mr_free(tmp1); 1156 1159 mr_free(tmp); 1157 1160 }
Note:
See TracChangeset
for help on using the changeset viewer.