input.c: remove write to buffer[-1] in parse_config()

This commit is contained in:
Uoti Urpala 2011-07-11 06:05:19 +03:00
parent 10efda3b37
commit df899f59be
1 changed files with 0 additions and 1 deletions

View File

@ -1731,7 +1731,6 @@ static int parse_config(struct input_ctx *ictx, char *file)
if (bs > (end - buffer)) if (bs > (end - buffer))
memmove(buffer, end, bs - (end - buffer)); memmove(buffer, end, bs - (end - buffer));
bs -= (end - buffer); bs -= (end - buffer);
buffer[bs - 1] = '\0';
continue; continue;
} }
} }