about summary refs log tree commit homepage
path: root/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/http.c b/http.c
index 2f3b29b..3ec62a6 100644
--- a/http.c
+++ b/http.c
@@ -480,8 +480,6 @@ void mog_http_resp0(struct mog_fd *mfd, struct iovec *status, bool alive)
 #define CPY(str) mempcpy(dst, (str),(sizeof(str)-1))
         dst = CPY("HTTP/1.1 ");
         dst = mempcpy(dst, status->iov_base, status->iov_len);
-        dst = CPY("\r\nStatus: ");
-        dst = mempcpy(dst, status->iov_base, status->iov_len);
         dst = CPY("\r\nDate: ");
         now = mog_now();
         dst = mempcpy(dst, now->httpdate, sizeof(now->httpdate)-1);