Skip to content

Commit 9cb7529

Browse files
committed
Remove some trailing whitespace.
1 parent 55ad875 commit 9cb7529

File tree

6 files changed

+93
-94
lines changed

6 files changed

+93
-94
lines changed

batch.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static int write_opt(const char *opt, const char *arg)
194194
{
195195
int len = strlen(opt);
196196
int err = write(batch_sh_fd, " ", 1) != 1;
197-
err = write(batch_sh_fd, opt, len) != len ? 1 : 0;
197+
err = write(batch_sh_fd, opt, len) != len ? 1 : 0;
198198
if (arg) {
199199
err |= write(batch_sh_fd, "=", 1) != 1;
200200
err |= write_arg(arg);

byteorder.h

-1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,3 @@ SIVAL(char *buf, int pos, uint32 val)
129129
{
130130
SIVALu((uchar*)buf, pos, val);
131131
}
132-

compat.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static const char *getenv_nstr(int ntype)
400400
const char *env_str = getenv(ntype == NSTR_COMPRESS ? "RSYNC_COMPRESS_LIST" : "RSYNC_CHECKSUM_LIST");
401401

402402
/* When writing a batch file, we always negotiate an old-style choice. */
403-
if (write_batch)
403+
if (write_batch)
404404
env_str = ntype == NSTR_COMPRESS ? "zlib" : protocol_version >= 30 ? "md5" : "md4";
405405

406406
if (am_server && env_str) {
@@ -433,7 +433,7 @@ void validate_choice_vs_env(int ntype, int num1, int num2)
433433
nno->saw[CSUM_MD4_ARCHAIC] = nno->saw[CSUM_MD4_BUSTED] = nno->saw[CSUM_MD4_OLD] = nno->saw[CSUM_MD4];
434434

435435
if (!nno->saw[num1] || (num2 >= 0 && !nno->saw[num2])) {
436-
rprintf(FERROR, "Your --%s-choice value (%s) was refused by the server.\n",
436+
rprintf(FERROR, "Your --%s-choice value (%s) was refused by the server.\n",
437437
ntype == NSTR_COMPRESS ? "compress" : "checksum",
438438
ntype == NSTR_COMPRESS ? compress_choice : checksum_choice);
439439
exit_cleanup(RERR_UNSUPPORTED);

0 commit comments

Comments
 (0)