diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-06 05:24:13 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-06 05:51:53 +0100 |
| commit | 61dc4f42b346931b5a67da4f46013fd5e2fb6ad3 (patch) | |
| tree | c64745d26a92c0e6024352bebbd366340f1e4539 /main.c | |
| parent | ff8da797a143cb1dfbeb4ce2d2c3e4a1d0c2e56a (diff) | |
| download | slcl-61dc4f42b346931b5a67da4f46013fd5e2fb6ad3.tar.gz | |
Perform some minor optimizations
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -898,7 +898,7 @@ static int createdir(const struct http_payload *const p, { .status = HTTP_STATUS_BAD_REQUEST, .buf.ro = body, - .n = strlen(body) + .n = sizeof body - 1 }; if (http_response_add_header(r, "Content-Type", "text/html")) |
