Ignore:
Timestamp:
Feb 12, 2007, 2:05:43 AM (17 years ago)
Author:
Bruno Cornec
Message:

Try to fix some valgrind reports (note that this version still doesn't work)

File:
1 edited

Legend:

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

    r1116 r1140  
    771771    p = tmp;
    772772    while (*p != '\0') {
    773         in_out[i] = *(p++);
     773        in_out[i] = *p;
     774        p++;
    774775        in_out[i + 1] = '\0';
    775776        if (in_out[i] < 32 && i > 0) {
     
    797798    in_out[i] = '\0';
    798799    mr_free(tmp);
    799 /*  for(i=strlen(in_out); i>0 && in_out[i-1]<=32; i--) {in_out[i-1]='\0';} */
    800800}
    801801
Note: See TracChangeset for help on using the changeset viewer.