chiark / gitweb /
fileio: fix MIN/MAX mixup (#3896)
authorVito Caputo <vcaputo@gnugeneration.com>
Fri, 5 Aug 2016 04:09:23 +0000 (21:09 -0700)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:50 +0000 (08:50 +0200)
commit80e82f41a485f3045812becb3f6ced94f4d78eed
treee8afc193983cea4f13e6ee89bb89c158776af077
parent2e59594b6e8f4814fd36d6a638cef31d6707e086
fileio: fix MIN/MAX mixup (#3896)

The intention is to clamp the value to READ_FULL_BYTES_MAX, which
would be the minimum of the two.
src/basic/fileio.c