diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-05-07 23:21:56 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-05-07 23:21:56 +0200 |
commit | a3b990fba2bc9f94b5c8fb00e20b51a8bf8bc0b8 (patch) | |
tree | ac46c2c04938c96f3d34a571af746d70fc3df715 | |
parent | 10f199487ebe676f25936e991c2a27a1659d5e67 (diff) | |
download | hittpd-a3b990fba2bc9f94b5c8fb00e20b51a8bf8bc0b8.tar.gz hittpd-a3b990fba2bc9f94b5c8fb00e20b51a8bf8bc0b8.tar.xz hittpd-a3b990fba2bc9f94b5c8fb00e20b51a8bf8bc0b8.zip |
send_error: fix logged length
-rw-r--r-- | hittpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hittpd.c b/hittpd.c index 881d9b9..2d47f29 100644 --- a/hittpd.c +++ b/hittpd.c @@ -291,7 +291,7 @@ send_error(http_parser *p, int status, const char *msg) "\r\n", p->http_minor, status, msg, - 4 + strlen(msg) + 2, + (data->last = 4 + strlen(msg) + 2), now); if (p->method != HTTP_HEAD) |