-
Vladimír Čunát authored
It's perhaps unfortunate that the output value of buflen had +1 change in meaning in commit 19a3cad6, but the name clearly indicates that we care about length of the buffer, i.e. space terminating zero *is* counted on input, so let's be consistent and count it on output as well.