Changeset 1186 in MondoRescue for branches/stable/mondo/src/common/libmondo-fork.c
- Timestamp:
- Feb 19, 2007, 11:54:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-fork.c
r1173 r1186 237 237 if (fin) { 238 238 for (mr_getline(&incoming, &n, fin); !feof(fin); mr_getline(&incoming, &n, fin)) { 239 /* patch by Heiko Schlittermann */ 240 p = incoming; 241 while (p && *p) { 242 if ((p = strchr(p, '%'))) { 243 memmove(p, p + 1, strlen(p) + 1); 244 p += 2; 245 } 246 } 247 /* end of patch */ 239 /* Suppress % so they are not interpreted in mr_msg */ 240 while ((p = strchr(incoming, '%'))) { 241 *p = ' '; 242 } 248 243 mr_strip_spaces(incoming); 249 244 if ((res == 0 && log_if_success)
Note:
See TracChangeset
for help on using the changeset viewer.