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:
33ffd7c
)
Call sanitize_path() with updated args.
author
Wayne Davison
<wayned@samba.org>
Wed, 11 Aug 2004 23:41:03 +0000
(23:41 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 11 Aug 2004 23:41:03 +0000
(23:41 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
d7d22af
..
805b9e1
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-728,17
+728,17
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
if (sanitize_paths) {
int i;
for (i = *argc; i-- > 0; )
if (sanitize_paths) {
int i;
for (i = *argc; i-- > 0; )
- (*argv)[i] = sanitize_path(NULL, (*argv)[i],
NULL
);
+ (*argv)[i] = sanitize_path(NULL, (*argv)[i],
"", 0
);
if (tmpdir)
if (tmpdir)
- tmpdir = sanitize_path(NULL, tmpdir,
""
);
+ tmpdir = sanitize_path(NULL, tmpdir,
NULL, 0
);
if (partial_dir)
if (partial_dir)
- partial_dir = sanitize_path(NULL, partial_dir,
""
);
+ partial_dir = sanitize_path(NULL, partial_dir,
NULL, 0
);
if (compare_dest)
if (compare_dest)
- compare_dest = sanitize_path(NULL, compare_dest,
""
);
+ compare_dest = sanitize_path(NULL, compare_dest,
NULL, 0
);
if (backup_dir)
if (backup_dir)
- backup_dir = sanitize_path(NULL, backup_dir,
""
);
+ backup_dir = sanitize_path(NULL, backup_dir,
NULL, 0
);
if (files_from)
if (files_from)
- files_from = sanitize_path(NULL, files_from,
""
);
+ files_from = sanitize_path(NULL, files_from,
NULL, 0
);
}
if (server_exclude_list.head && !am_sender) {
struct exclude_list_struct *elp = &server_exclude_list;
}
if (server_exclude_list.head && !am_sender) {
struct exclude_list_struct *elp = &server_exclude_list;