summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2019-02-12 19:33:59 +0000
committerbenno <benno@openbsd.org>2019-02-12 19:33:59 +0000
commitaacc588e1ebcebe74b974c04711e597e67533304 (patch)
treedfe4268fc1d1845a8e10f08ce183f7ef178b77b4
parentsync (diff)
downloadwireguard-openbsd-aacc588e1ebcebe74b974c04711e597e67533304.tar.xz
wireguard-openbsd-aacc588e1ebcebe74b974c04711e597e67533304.zip
sync a chunk that was lost, from
commit 40bd0babafaa424d20af28128b76878d6cee7b87 Author: kristaps <> Date: Mon Feb 11 23:27:36 2019 +0000 Normal form.
-rw-r--r--usr.bin/rsync/flist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rsync/flist.c b/usr.bin/rsync/flist.c
index 09b326782ce..894047e346b 100644
--- a/usr.bin/rsync/flist.c
+++ b/usr.bin/rsync/flist.c
@@ -1,4 +1,4 @@
-/* $Id: flist.c,v 1.10 2019/02/12 19:19:13 benno Exp $ */
+/* $Id: flist.c,v 1.11 2019/02/12 19:33:59 benno Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -610,13 +610,13 @@ flist_recv(struct sess *sess, int fd, struct flist **flp, size_t *sz)
/* Conditional part: gid. */
if (sess->opts->preserve_gids) {
- if ( ! (FLIST_GID_SAME & flag)) {
- if ( ! io_read_int(sess, fd, &ival)) {
+ if (!(FLIST_GID_SAME & flag)) {
+ if (!io_read_int(sess, fd, &ival)) {
ERRX1(sess, "io_read_int");
goto out;
}
ff->st.gid = ival;
- } else if (NULL == fflast) {
+ } else if (fflast == NULL) {
ERRX(sess, "same gid "
"without last entry");
goto out;