From 35bf8fa0847e3e9a22ee656b856d4ce4fb46a666 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 26 Jan 2006 22:28:08 +0000 Subject: [PATCH] - Include popt.h using , not "popt.h". - A minor twiddle in server_options(). --- options.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/options.c b/options.c index 66811584..21445e9d 100644 --- a/options.c +++ b/options.c @@ -19,7 +19,7 @@ */ #include "rsync.h" -#include "popt.h" +#include #include "zlib/zlib.h" extern int module_id; @@ -1474,8 +1474,12 @@ void server_options(char **args,int *argc) argstr[x++] = 'L'; if (xfer_dirs > (recurse || !delete_mode || !am_sender)) argstr[x++] = 'd'; - if (keep_dirlinks && am_sender) - argstr[x++] = 'K'; + if (am_sender) { + if (keep_dirlinks) + argstr[x++] = 'K'; + if (omit_dir_times == 2) + argstr[x++] = 'O'; + } if (whole_file > 0) argstr[x++] = 'W'; @@ -1493,8 +1497,6 @@ void server_options(char **args,int *argc) argstr[x++] = 'D'; if (preserve_times) argstr[x++] = 't'; - if (omit_dir_times == 2 && am_sender) - argstr[x++] = 'O'; if (preserve_perms) argstr[x++] = 'p'; if (recurse) -- 2.34.1