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:
028fddd
)
The args are now sanitized in parse_arguments() instead of here.
author
Wayne Davison
<wayned@samba.org>
Sat, 27 Mar 2004 09:44:01 +0000
(09:44 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 27 Mar 2004 09:44:01 +0000
(09:44 +0000)
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
468553c
..
f96d5e6
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-423,19
+423,6
@@
static int rsync_module(int f_in, int f_out, int i)
}
}
}
}
- if (sanitize_paths) {
- /*
- * Note that this is applied to all parameters, whether or not
- * they are filenames, but no other legal parameters contain
- * the forms that need to be sanitized so it doesn't hurt;
- * it is not known at this point which parameters are files
- * and which aren't.
- */
- for (i = 1; i < argc; i++) {
- sanitize_path(argv[i], NULL);
- }
- }
-
argp = argv;
ret = parse_arguments(&argc, (const char ***) &argp, 0);
argp = argv;
ret = parse_arguments(&argc, (const char ***) &argp, 0);