=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rsync/blocks.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/usr.bin/rsync/blocks.c 2019/06/02 17:36:48 1.18 +++ src/usr.bin/rsync/blocks.c 2019/06/02 17:43:34 1.19 @@ -1,4 +1,4 @@ -/* $Id: blocks.c,v 1.18 2019/06/02 17:36:48 florian Exp $ */ +/* $Id: blocks.c,v 1.19 2019/06/02 17:43:34 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -32,7 +32,7 @@ struct blkhash { const struct blk *blk; - TAILQ_ENTRY(blkhash) entries; + TAILQ_ENTRY(blkhash) entries; }; TAILQ_HEAD(blkhashq, blkhash); @@ -100,8 +100,7 @@ /* Fill in the hashtable. */ - p->blks = reallocarray(p->blks, - bset->blksz, sizeof(struct blkhash)); + p->blks = reallocarray(p->blks, bset->blksz, sizeof(struct blkhash)); if (p->blks == NULL) { ERR("reallocarray"); return 0; @@ -229,7 +228,7 @@ if (osz < remain) { st->s1 += map[osz]; st->s2 += st->s1; - } + } return NULL; } @@ -521,8 +520,7 @@ io_buffer_int(buf, &pos, sz, p->rem); for (i = 0; i < p->blksz; i++) { - io_buffer_int(buf, &pos, - sz, p->blks[i].chksum_short); + io_buffer_int(buf, &pos, sz, p->blks[i].chksum_short); io_buffer_buf(buf, &pos, sz, p->blks[i].chksum_long, p->csum); }