Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c6706
)
Moved the sanitizing of the --*-dest args into main.c.
author
Wayne Davison
<wayned@samba.org>
Fri, 28 Apr 2006 16:57:39 +0000
(16:57 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 28 Apr 2006 16:57:39 +0000
(16:57 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
c6d062a
..
ee7b522
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1048,10
+1048,9
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
MAX_BASIS_DIRS, dest_option);
return 0;
}
- arg = poptGetOptArg(pc);
- if (sanitize_paths)
- arg = sanitize_path(NULL, arg, NULL, 0);
- basis_dir[basis_dir_cnt++] = (char *)arg;
+ /* We defer sanitizing this arg until we know what
+ * our destination directory is going to be. */
+ basis_dir[basis_dir_cnt++] = (char *)poptGetOptArg(pc);
break;
case OPT_CHMOD: