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; } }