mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 17:30:27 +00:00
This commit is contained in:
parent
2179c3aa98
commit
f8724a9d87
1 changed files with 1 additions and 1 deletions
|
@ -3728,7 +3728,7 @@ static int LuaFetch(lua_State *L) {
|
|||
if (bodylen > 0 ||
|
||||
!(methodidx == kHttpGet || methodidx == kHttpHead ||
|
||||
methodidx == kHttpTrace || methodidx == kHttpDelete || methodidx == kHttpConnect))
|
||||
conlenhdr = gc(xasprintf("Content-Length: %d\r\n", bodylen));
|
||||
conlenhdr = gc(xasprintf("Content-Length: %zu\r\n", bodylen));
|
||||
|
||||
/*
|
||||
* Parse URL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue