quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 233bf68b4b9457bc4747c65038b80765a9eeb39e
parent 000553d8c5ff70e8eaedab0ba9604270c96eb2e5
Author: Laslo Hunhold <dev@frign.de>
Date:   Tue, 11 Jul 2017 13:03:24 +0200

Style fix

Thanks Quentin!

Diffstat:
quark.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/quark.c b/quark.c @@ -448,11 +448,11 @@ sendfile(int fd, char *name, struct request *r, struct stat *st, char *mime, "HTTP/1.1 %d %s\r\n" "Date: %s\r\n" "Connection: close\r\n" - "Last-Modified: %s\r\n" - "Content-Type: %s\r\n" - "Content-Length: %zu\r\n", + "Last-Modified: %s\r\n" + "Content-Type: %s\r\n" + "Content-Length: %zu\r\n", s, status_str[s], timestamp(time(NULL), t1), - timestamp(st->st_mtim.tv_sec, t2), mime, + timestamp(st->st_mtim.tv_sec, t2), mime, upper - lower + (st->st_size > 0)) < 0) { s = S_REQUEST_TIMEOUT; goto cleanup;