Ignore:
Timestamp:
Feb 19, 2007, 11:54:45 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Small typo fix for mondorestore man page (reported by petes-bugs_at_thegoldenear.org)
  • mondo ChangeLog is now UTF-8
  • New tests for mr_strip_spaces
  • Some attempts to remove valgrind errors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-fork.c

    r1173 r1186  
    237237    if (fin) {
    238238        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            }
    248243            mr_strip_spaces(incoming);
    249244            if ((res == 0 && log_if_success)
Note: See TracChangeset for help on using the changeset viewer.