Changeset 2126

Show
Ignore:
Timestamp:
04/15/08 10:03:14 (1 month ago)
Author:
karpet
Message:

fix off-by-1 err

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libswish3/trunk/src/libswish3/namedbuffer.c

    r2116 r2126  
    127127        sub_len = substr - buf; 
    128128        SWISH_DEBUG_MSG("%d <%s> substr: %s", sub_len, name, xmlStrsub(buf, 0, sub_len) ); 
    129         buf = substr + 2
     129        buf = substr + 1
    130130    } 
    131131    if (buf != NULL) {