summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/tls-socket.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-06-16 17:27:01 +0200
committerGitHub <noreply@github.com>2020-06-16 17:27:01 +0200
commitd1134c1a40692e0151e71c9b6ce1d5e07f2ddbcd (patch)
treedece122600eee910b1c7ecf20e91318b861cb03d /libs/luci-lib-nixio/src/tls-socket.c
parent2ced86048c7006f3637ed38ceeb3d21fddbb93e2 (diff)
parent6c0b8a40f7938c027953bd4c650a02e8aad77861 (diff)
Merge pull request #3676 from Tarnyko/master
luci-lib-nixio: allow building with Lua5.2/LuaJIT
Diffstat (limited to 'libs/luci-lib-nixio/src/tls-socket.c')
-rw-r--r--libs/luci-lib-nixio/src/tls-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-nixio/src/tls-socket.c b/libs/luci-lib-nixio/src/tls-socket.c
index fe4cb60755..122f598e0a 100644
--- a/libs/luci-lib-nixio/src/tls-socket.c
+++ b/libs/luci-lib-nixio/src/tls-socket.c
@@ -239,7 +239,7 @@ static int nixio_tls_sock__tostring(lua_State *L) {
/* ctx function table */
-static const luaL_reg M[] = {
+static const luaL_Reg M[] = {
{"recv", nixio_tls_sock_recv},
{"send", nixio_tls_sock_send},
{"read", nixio_tls_sock_recv},