Actions
Review #751
closedFix /BIP commands truncating output
Start date:
2022-01-05
Branch:
Description
/BIP list connections and such will truncate output without notifying the user because we use snprintf().
We can use memccpy() instead, in order to respect max line length while not truncating text, and being able to start a new line when required.
https://developers.redhat.com/blog/2019/08/12/efficient-string-copying-and-concatenation-in-c#choosing_a_solution
This will also alleviate work required in #750
Files
Actions