From b31885531595665081fe79cd0e7e4ede452c1d2d Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 9 Feb 2005 09:46:04 +0000 Subject: fix --- opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opts.c') diff --git a/opts.c b/opts.c index 3976d3a..3e3e34a 100644 --- a/opts.c +++ b/opts.c @@ -51,7 +51,7 @@ static int process_option_group(char *arg, struct opt opts[], remove_one = process_option(arg, opts, case_sensitive); if (remove_one) { if (comma) - memmove(arg, comma + 1, strlen(comma + 1)); + memmove(arg, comma + 1, strlen(comma + 1) + 1); } else { remove = 0; if (comma) -- cgit v1.2.3