X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cc80022e846cbf7e4801261de94961a4dd1f25ae..5454d22ad8b63f00aa0b64d8568f2781e31a382b:/options.c diff --git a/options.c b/options.c index 3876ce0f..9aa0c261 100644 --- a/options.c +++ b/options.c @@ -21,6 +21,7 @@ #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; @@ -70,7 +71,6 @@ int implied_dirs = 1; 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; @@ -1126,7 +1126,7 @@ void server_options(char **args,int *argc) if (copy_links) argstr[x++] = 'L'; if (xfer_dirs > 1) - argstr[x++] = 'k'; + argstr[x++] = 'd'; if (keep_dirlinks && am_sender) argstr[x++] = 'K';