From 34d716082a0136056373f3d0c6ed7abce45484b3 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 9 Sep 2023 00:36:26 +0200 Subject: http: Insert name into http_post_file Whereas slcl, the project where slweb started, ignored this field, some applications might require it. --- include/slweb/http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/slweb/http.h b/include/slweb/http.h index db2c0b6..7f5935a 100644 --- a/include/slweb/http.h +++ b/include/slweb/http.h @@ -35,7 +35,7 @@ struct http_payload const struct http_post_file { - const char *tmpname, *filename; + const char *name, *tmpname, *filename; } *files; } post; } u; -- cgit v1.2.3