From: Wayne Davison Date: Thu, 26 Jan 2006 22:28:08 +0000 (+0000) Subject: - Include popt.h using , not "popt.h". X-Git-Tag: v2.6.7pre1~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35bf8fa0847e3e9a22ee656b856d4ce4fb46a666;p=thirdparty%2Frsync.git - Include popt.h using , not "popt.h". - A minor twiddle in server_options(). --- 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)