=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rsync/fargs.c,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** src/usr.bin/rsync/fargs.c 2021/10/29 08:00:59 1.21 --- src/usr.bin/rsync/fargs.c 2021/11/03 14:42:12 1.22 *************** *** 1,4 **** ! /* $OpenBSD: fargs.c,v 1.21 2021/10/29 08:00:59 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * --- 1,4 ---- ! /* $OpenBSD: fargs.c,v 1.22 2021/11/03 14:42:12 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * *************** *** 29,35 **** const char * alt_base_mode(int mode) { ! switch(mode) { case BASE_MODE_COMPARE: return "--compare-dest"; case BASE_MODE_COPY: --- 29,35 ---- const char * alt_base_mode(int mode) { ! switch (mode) { case BASE_MODE_COMPARE: return "--compare-dest"; case BASE_MODE_COPY: *************** *** 137,143 **** addargs(&args, "--min-size=%lld", sess->opts->min_size); /* only add --compare-dest, etc if this is the sender */ ! if (sess->opts->alt_base_mode != 0 && f->mode == FARGS_SENDER) { for (j = 0; j < MAX_BASEDIR; j++) { if (sess->opts->basedir[j] == NULL) --- 137,143 ---- addargs(&args, "--min-size=%lld", sess->opts->min_size); /* only add --compare-dest, etc if this is the sender */ ! if (sess->opts->alt_base_mode != 0 && f->mode == FARGS_SENDER) { for (j = 0; j < MAX_BASEDIR; j++) { if (sess->opts->basedir[j] == NULL)