From 102cf09cc580066c2382abdc627739e5d4437071 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 27 Jun 2017 21:36:52 +0200 Subject: [PATCH] add newline after --- quark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quark.c b/quark.c index e9aafba..a943f88 100644 --- a/quark.c +++ b/quark.c @@ -158,7 +158,7 @@ sendstatus(int fd, enum status s) "\r\n" "\n\n\t\n" "\t\t%d %s\n\t\n\t\n" - "\t\t

%d %s

\n\t\n", + "\t\t

%d %s

\n\t\n\n", s, status_str[s], timestamp(0, t), (s == S_METHOD_NOT_ALLOWED) ? "Allow: HEAD, GET\r\n" : "", s, status_str[s], s, status_str[s]) < 0) { @@ -362,7 +362,7 @@ senddir(int fd, char *name, struct request *r) } /* listing footer */ - if (dprintf(fd, "\n\t\n") < 0) { + if (dprintf(fd, "\n\t\n\n") < 0) { return S_REQUEST_TIMEOUT; } }