From e81d1f6312de85e5640277f5968263aa8cd393db Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 9 Sep 2023 02:30:37 +0200 Subject: main.c: Remove string duplication in get_forms slweb now assumes application/x-www-form-urlencoded-data as text, so it now returns a null-terminated string on struct http_post member "data". This removes the need for slcl to call strdup(3) in order to obtain a null-terminated string. --- slweb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slweb') diff --git a/slweb b/slweb index 34d7160..5be3ffd 160000 --- a/slweb +++ b/slweb @@ -1 +1 @@ -Subproject commit 34d716082a0136056373f3d0c6ed7abce45484b3 +Subproject commit 5be3ffdd3bfd96b314509f6f03e211e309d0fef3 -- cgit v1.2.3