summaryrefslogtreecommitdiff
path: root/usr.bin/rsync/sender.c
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2019-02-21 22:11:27 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2019-02-21 22:11:27 +0000
commit76d79d5a969470c254cdffe0eabedbd1a255d118 (patch)
tree2b39b75220836cb2b0a117481250b8595df70df6 /usr.bin/rsync/sender.c
parent4f98bd33ea70db174ca23a66b3ec04ea9aca030f (diff)
kristaps 156cf3b7d459efe133d603158fc33c243dc07ba0
Use style(9) for bit
Diffstat (limited to 'usr.bin/rsync/sender.c')
-rw-r--r--usr.bin/rsync/sender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rsync/sender.c b/usr.bin/rsync/sender.c
index 66fc0951869..e536a715024 100644
--- a/usr.bin/rsync/sender.c
+++ b/usr.bin/rsync/sender.c
@@ -1,4 +1,4 @@
-/* $Id: sender.c,v 1.18 2019/02/21 22:09:47 benno Exp $ */
+/* $Id: sender.c,v 1.19 2019/02/21 22:11:26 benno Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -476,7 +476,7 @@ rsync_sender(struct sess *sess, int fdin,
* left and hit it again if so (read priority).
*/
- if (sess->mplex_reads && pfd[0].revents & POLLIN) {
+ if (sess->mplex_reads && (pfd[0].revents & POLLIN)) {
if (!io_read_flush(sess, fdin)) {
ERRX1(sess, "io_read_flush");
goto out;