Revision 4809b354

View differences:

som/ChunkBuffer/config.c
43 43
      if (p == NULL) {
44 44
        strcpy(res[i++].value, p1 + 1);
45 45
      } else {
46
        memcpy(res[i].value, p1 + 1, p - p1 - 1);
47
        res[i++].value[p - p1] = 0;
46
        memcpy(res[i++].value, p1 + 1, p - p1 - 1);
48 47
        p++;
49 48
      }
50 49
    } else {

Also available in: Unified diff