Changeset 3614 in MondoRescue for branches/3.2/mondo/src/common/newt-specific.c
- Timestamp:
- Nov 18, 2016, 5:31:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/newt-specific.c
r3508 r3614 1234 1234 static char *possible_responses[] = { "none", "cdr", "cdrw", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL }; 1235 1235 char *outstr = NULL; 1236 char *instr = NULL; 1236 1237 t_bkptype backup_type; 1237 1238 int i; … … 1256 1257 } 1257 1258 printf(")\n--> "); 1258 mr_getline(outstr, stdin); 1259 mr_strip_spaces(outstr); 1259 mr_getline(instr, stdin); 1260 outstr = mr_strip_spaces(instr); 1261 mr_free(instr); 1260 1262 for (i = 0; possible_responses[i]; i++) { 1261 1263 if (!strcmp(possible_responses[i], outstr)) {
Note:
See TracChangeset
for help on using the changeset viewer.