Do not convert the int value twice from little to host endian.
authorclaudio <claudio@openbsd.org>
Tue, 12 Apr 2022 14:51:04 +0000 (14:51 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 12 Apr 2022 14:51:04 +0000 (14:51 +0000)
commit40f749700c430a94f03af1996a694cc697302f27
tree978e525b81c36885337015754f3bf8f40ee9f970
parent7499e163a17c87df9f7edde994decd7bd0fdebf3
Do not convert the int value twice from little to host endian.
io_read_int() already does the conversion so don't double up in
io_read_ulong(). Fixes openrsync on sparc64.
OK miod@ deraadt@
usr.bin/rsync/io.c