summaryrefslogtreecommitdiffstats
path: root/lem/http/core.c
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@mailme.dk>2016-01-07 22:39:28 +0100
committerEmil Renner Berthing <esmil@mailme.dk>2016-01-08 00:20:13 +0100
commit4c0ad860e7710b8cecaa13b96dfc6bdb8d6a14ea (patch)
tree089aff1638d71783695571cdae7cbf026277b5eb /lem/http/core.c
parente005effffa9b69bb1a93a8031308700ae8e4a857 (diff)
downloadlem-4c0ad860e7710b8cecaa13b96dfc6bdb8d6a14ea.tar.gz
lem-4c0ad860e7710b8cecaa13b96dfc6bdb8d6a14ea.tar.xz
lem-4c0ad860e7710b8cecaa13b96dfc6bdb8d6a14ea.zip
Lua 5.3.2
Diffstat (limited to 'lem/http/core.c')
-rw-r--r--lem/http/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lem/http/core.c b/lem/http/core.c
index e9a6628..da18ba6 100644
--- a/lem/http/core.c
+++ b/lem/http/core.c
@@ -274,7 +274,7 @@ parse_http_process(lua_State *T, struct lem_inputbuf *b)
n += b->buf[k] - '0';
}
- lua_pushnumber(T, n);
+ lua_pushinteger(T, n);
}
lua_setfield(T, -2, "status");
w = 0;