[PATCH 0/2] [Outreachy] gpg-interface.c: use string_list_split instead of strbuf_split_max
- From
Olamide Caleb Bello <belkid98@gmail.com>
- Date
- Oct 15, 2025, 02:19 UTC
- Message-ID
- <cover.1760490943.git.belkid98@gmail.com>
The array of strbufs that calls to strbuf_split_max provides are merely used to store the list of tokens gotten from the split and no edit are done on these resulting splits making the strbuf_split_max unideal for this usecase.
This patchset replaces these instances with the modern string_list_split
Olamide Caleb Bello (2): gpg-interface: replace strbuf_split with string_list_split gpg-interface: use string_list_split instead of strbuf_split
gpg-interface.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-)
-- 2.51.0.463.g79cf913ea9