mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Fix mistake with IsHeaderRepeatable
This commit is contained in:
parent
98192c1079
commit
777d08a839
1 changed files with 1 additions and 1 deletions
|
@ -5041,7 +5041,7 @@ static int LuaIsHeaderRepeatable(lua_State *L) {
|
||||||
size_t n;
|
size_t n;
|
||||||
const char *s;
|
const char *s;
|
||||||
s = luaL_checklstring(L, 1, &n);
|
s = luaL_checklstring(L, 1, &n);
|
||||||
if ((h = GetHttpHeader(s, n)) == -1) {
|
if ((h = GetHttpHeader(s, n)) != -1) {
|
||||||
r = kHttpRepeatable[h];
|
r = kHttpRepeatable[h];
|
||||||
} else {
|
} else {
|
||||||
r = false;
|
r = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue