Changeset 1552 in MondoRescue for branches/2.2.5/mondo/src/common/mr_string.c
- Timestamp:
- Jul 24, 2007, 3:22:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/mr_string.c
r843 r1552 67 67 // Found it, skip the rest. 68 68 cnt++; 69 inptr++;70 69 break; 71 70 } 72 inptr++;73 71 escptr++; 74 72 } 73 inptr++; 75 74 } 76 75 inptr = instr; … … 84 83 while (*escptr != '\0') { 85 84 if (*inptr == *escptr) { 86 // Found it, skip the rest.85 // Found it, prepend with the escape char 87 86 *retptr = escchr; 88 87 retptr++; … … 98 97 99 98 return retstr; 100 101 99 }
Note:
See TracChangeset
for help on using the changeset viewer.