X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5c36219d404da75b66d092e60f691acb3fee43c1..e3cd198f8ea1ca022c222e7ed949658eaf6cddc9:/flist.c diff --git a/flist.c b/flist.c index 6b51ee29..ef1d098a 100644 --- a/flist.c +++ b/flist.c @@ -634,10 +634,9 @@ static void clean_fname(char *name) if (strncmp(p=name,"./",2) == 0) { modified = 1; - while (*p) { + do { p[0] = p[2]; - p++; - } + } while (*p++); } l = strlen(p=name);