From 2c5d17751ff243d679828ae760aeca298aeb3723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 11 Sep 2021 23:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=B0=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmoe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmoe.c b/cmoe.c index 2052baa..d080944 100644 --- a/cmoe.c +++ b/cmoe.c @@ -26,7 +26,6 @@ static void headers(uint32_t content_len, const char* content_type) { ADD_HERDER(CACHE_CTRL); ADD_HERDER_PARAM(CONTENT_TYPE, content_type); ADD_HERDER_PARAM(CONTENT_LEN "\r\n", content_len); - write2stdo(buf, offset, content_len); content_len += offset; write(1, (char*)&content_len, sizeof(uint32_t)); write(1, buf, offset);