diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-09-09 00:36:26 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-09-09 00:39:43 +0200 |
| commit | 34d716082a0136056373f3d0c6ed7abce45484b3 (patch) | |
| tree | 9e1e2117e9689f6986c7156279488d610dd2c619 /include | |
| parent | 09909c0a3b326efd6a2b87df95d0e73c1e394c29 (diff) | |
http: Insert name into http_post_file
Whereas slcl, the project where slweb started, ignored this field, some
applications might require it.
Diffstat (limited to 'include')
| -rw-r--r-- | include/slweb/http.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
