diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-05-08 21:30:12 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-05-08 21:30:12 +0000 |
commit | b3dccd82855f217c000b0302e0315b5af977be84 (patch) | |
tree | f28f1cb76c6ba40450e98a945eac1145dc9891e3 /usr.bin/rsync/sender.c | |
parent | 967717226afa6bb06671dd62b0e880697742e3b7 (diff) |
remove sess argument from all functions that only used it for logging
functions.
ok deraadt@
Diffstat (limited to 'usr.bin/rsync/sender.c')
-rw-r--r-- | usr.bin/rsync/sender.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rsync/sender.c b/usr.bin/rsync/sender.c index d6613daa80c..d3a8b954947 100644 --- a/usr.bin/rsync/sender.c +++ b/usr.bin/rsync/sender.c @@ -1,4 +1,4 @@ -/* $Id: sender.c,v 1.22 2019/05/08 20:00:25 benno Exp $ */ +/* $Id: sender.c,v 1.23 2019/05/08 21:30:11 benno Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -260,7 +260,7 @@ send_up_fsm(struct sess *sess, size_t *phase, return 0; } assert(sizeof(buf) == 20); - blk_recv_ack(sess, buf, up->cur->blks, up->cur->idx); + blk_recv_ack(buf, up->cur->blks, up->cur->idx); io_lowbuffer_buf(sess, *wb, &pos, *wbsz, buf, 20); LOG3("%s: primed for %jd B total", @@ -480,7 +480,7 @@ rsync_sender(struct sess *sess, int fdin, ERRX1("io_read_flush"); goto out; } else if (sess->mplex_read_remain == 0) { - c = io_read_check(sess, fdin); + c = io_read_check(fdin); if (c < 0) { ERRX1("io_read_check"); goto out; @@ -507,7 +507,7 @@ rsync_sender(struct sess *sess, int fdin, ERRX1("send_dl_enqueue"); goto out; } - c = io_read_check(sess, fdin); + c = io_read_check(fdin); if (c < 0) { ERRX1("io_read_check"); goto out; |