diff options
author | Wayne Davison <wayned@samba.org> | 2005-01-19 00:34:13 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-01-19 00:34:13 +0000 |
commit | c72f5bd9c4e60584cf574fc677883b5df4fe098e (patch) | |
tree | db402367795441d6eb76e03e82ed5e6dc276e45f | |
parent | 0f57446da7a9725a31f121084f0b2c3179b76875 (diff) | |
download | android_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.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |