Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow a non-empty dir to be overwritten by a non-dir with all the
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
ac7da70
..
266a2a8
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1042,7
+1042,7
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
case OPT_CHMOD:
arg = poptGetOptArg(pc);
- if (!
(chmod_modes = parse_chmod(arg, chmod_modes)
)) {
+ if (!
parse_chmod(arg, &chmod_modes
)) {
snprintf(err_buf, sizeof err_buf,
"Invalid argument passed to --chmod (%s)\n",
arg);