diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uniq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uniq.c b/src/uniq.c index f46bdaa52..42f33a206 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -169,7 +169,7 @@ find_field (const struct linebuffer *line) { register int count; register char *lp = line->buffer; - register size_t size = line->length; + register size_t size = line->length - 1; register size_t i = 0; for (count = 0; count < skip_fields && i < size; count++) |