HomeFreeBSD

fetch: do not confuse capacity and length

Description

fetch: do not confuse capacity and length

The patch converting fetch to getline
(ee3ca711a898cf41330c320826ea1e0e6e451f1d),
did confuse the capacity of the line buffer with the actual len of the read
line confusing fetch -v.

Details

Provenance
baptAuthored on Sep 9 2021, 2:48 PM
Parents
rG187afc58791c: osd: Fix racy assertions
Branches
Unknown
Tags
Unknown