Changeset 671 in MondoRescue
- Timestamp:
- Jun 11, 2006, 7:55:56 AM (19 years ago)
- Location:
- branches
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0.8/mondo/mondo/common/libmondo-raid.c
r670 r671 1041 1041 // trim leading spaces 1042 1042 pos = string; 1043 while (*pos == ' ') *pos++;1043 while (*pos == ' ') pos += 1; 1044 1044 asprintf(&strtmp, pos); 1045 1045 strcpy(string, strtmp); … … 1199 1199 } else { 1200 1200 while (*pos != ' ') { 1201 *pos--;1201 pos -= 1; 1202 1202 if (pos < string) { 1203 1203 log_it("String underflow!\n"); … … 1224 1224 } else { 1225 1225 while (*pos != ' ') { 1226 *pos--;1226 pos -= 1; 1227 1227 if (pos < string) { 1228 1228 printf("ERROR: String underflow!\n"); -
branches/stable/mondo/mondo/common/libmondo-raid.c
r670 r671 1041 1041 // trim leading spaces 1042 1042 pos = string; 1043 while (*pos == ' ') *pos++;1043 while (*pos == ' ') pos += 1; 1044 1044 asprintf(&strtmp, pos); 1045 1045 strcpy(string, strtmp); … … 1199 1199 } else { 1200 1200 while (*pos != ' ') { 1201 *pos--;1201 pos -= 1; 1202 1202 if (pos < string) { 1203 1203 log_it("String underflow!\n"); … … 1224 1224 } else { 1225 1225 while (*pos != ' ') { 1226 *pos--;1226 pos -= 1; 1227 1227 if (pos < string) { 1228 1228 printf("ERROR: String underflow!\n");
Note:
See TracChangeset
for help on using the changeset viewer.