Re: [PATCH] buffer.h: Fix buf_substring_len() documentation
Frank Lichtenheld <[email protected]>
| Newsgroups | gmane.network.openvpn.devel |
|---|---|
| Message-ID | <an7z28A5nNFudWDR@flichtenheld-TUXEDO-InfinityBook-S-15-17-Gen7> |
On Wed, Aug 12, 2026 at 05:05:15PM +0300, Razvan Cojocaru via Openvpn-devel wrote: > The documentation added in 21ef7fa8 described neither the return value > nor the not-found case correctly: the count includes the delimiter, and > a missing delimiter yields -1 rather than the buffer length. Acked-by: Frank Lichtenheld <[email protected]> Hrm, not sure how I ended up with this. Thanks, -- Frank Lichtenheld