X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/8e5f029e02a691ff05e5f221e421d7a4939ba528..58b1999e086721ff77d8f3d5e0d29e1e58c70a94:/flist.c diff --git a/flist.c b/flist.c index 743df099..4e0af363 100644 --- a/flist.c +++ b/flist.c @@ -570,7 +570,7 @@ void receive_file_entry(struct file_struct **fptr, unsigned short flags, strlcpy(lastname, thisname, MAXPATHLEN); - clean_fname(thisname); + clean_fname(thisname, 0); if (sanitize_paths) sanitize_path(thisname, thisname, "", 0); @@ -761,7 +761,7 @@ struct file_struct *make_file(char *fname, struct file_list *flist, rprintf(FINFO, "skipping overly long name: %s\n", fname); return NULL; } - clean_fname(thisname); + clean_fname(thisname, 0); if (sanitize_paths) sanitize_path(thisname, thisname, "", 0);