From 233bf68b4b9457bc4747c65038b80765a9eeb39e Mon Sep 17 00:00:00 2001 From: Laslo Hunhold Date: Tue, 11 Jul 2017 13:03:24 +0200 Subject: [PATCH] Style fix Thanks Quentin! --- quark.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quark.c b/quark.c index 8bf94ff..2b59f9d 100644 --- 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;