aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-01-19 00:34:13 +0000
committerWayne Davison <wayned@samba.org>2005-01-19 00:34:13 +0000
commitc72f5bd9c4e60584cf574fc677883b5df4fe098e (patch)
treedb402367795441d6eb76e03e82ed5e6dc276e45f
parent0f57446da7a9725a31f121084f0b2c3179b76875 (diff)
downloadandroid_external_rsync-c72f5bd9c4e60584cf574fc677883b5df4fe098e.tar.gz
android_external_rsync-c72f5bd9c4e60584cf574fc677883b5df4fe098e.tar.bz2
android_external_rsync-c72f5bd9c4e60584cf574fc677883b5df4fe098e.zip
A slight simplification to the no-implied-dirs change.
-rw-r--r--options.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/options.c b/options.c
index a05b7587..587329f1 100644
--- a/options.c
+++ b/options.c
@@ -857,8 +857,6 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
if (relative_paths < 0)
relative_paths = files_from? 1 : 0;
- if (!relative_paths)
- implied_dirs = 0;
*argv = poptGetArgs(pc);
*argc = count_args(*argv);
@@ -1240,7 +1238,7 @@ void server_options(char **args,int *argc)
if (!relative_paths)
args[ac++] = "--no-relative";
}
- if (relative_paths && !implied_dirs && !am_sender)
+ if (!implied_dirs && !am_sender)
args[ac++] = "--no-implied-dirs";
*argc = ac;