aboutsummaryrefslogtreecommitdiff
path: root/opts.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-02-09 09:46:04 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-02-09 09:46:04 +0000
commitb31885531595665081fe79cd0e7e4ede452c1d2d (patch)
tree1a95a012b46c350cc4f789543c335dff767ca580 /opts.c
parentda058cf9da38115651e5dc313ba537e2a861b836 (diff)
downloadsshfs-b31885531595665081fe79cd0e7e4ede452c1d2d.tar
sshfs-b31885531595665081fe79cd0e7e4ede452c1d2d.tar.gz
sshfs-b31885531595665081fe79cd0e7e4ede452c1d2d.tar.bz2
sshfs-b31885531595665081fe79cd0e7e4ede452c1d2d.zip
fix
Diffstat (limited to 'opts.c')
-rw-r--r--opts.c2
1 files changed, 1 insertions, 1 deletions
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)