mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2025-02-13 09:02:38 +01:00
修正小错误
This commit is contained in:
parent
1038f10938
commit
e40e1bb32a
1
cmoe.c
1
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user