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
The --dirs was sending -k instead of -d.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
3876ce0
..
9aa0c26
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-21,6
+21,7
@@
#include "rsync.h"
#include "popt.h"
#include "rsync.h"
#include "popt.h"
+extern int module_id;
extern int sanitize_paths;
extern int select_timeout;
extern struct filter_list_struct filter_list;
extern int sanitize_paths;
extern int select_timeout;
extern struct filter_list_struct filter_list;
@@
-70,7
+71,6
@@
int implied_dirs = 1;
int numeric_ids = 0;
int force_delete = 0;
int io_timeout = 0;
int numeric_ids = 0;
int force_delete = 0;
int io_timeout = 0;
-int module_id = -1;
int am_server = 0;
int am_sender = 0;
int am_generator = 0;
int am_server = 0;
int am_sender = 0;
int am_generator = 0;
@@
-1126,7
+1126,7
@@
void server_options(char **args,int *argc)
if (copy_links)
argstr[x++] = 'L';
if (xfer_dirs > 1)
if (copy_links)
argstr[x++] = 'L';
if (xfer_dirs > 1)
- argstr[x++] = '
k
';
+ argstr[x++] = '
d
';
if (keep_dirlinks && am_sender)
argstr[x++] = 'K';
if (keep_dirlinks && am_sender)
argstr[x++] = 'K';