[tls socket] indentation problem

This commit is contained in:
alan crouau 2024-09-09 14:54:38 +02:00
parent 222cb6ba73
commit 66f57f0f34

View file

@ -259,13 +259,15 @@ static int tls_tostring(lua_State *L) {
return 1;
}
static const struct luaL_Reg tls_methods[] = {{"connect", tls_connect},
{"write", tls_write},
{"read", tls_read},
{"close", tls_close},
{"__gc", tls_gc},
{"__tostring", tls_tostring},
{NULL, NULL}};
static const struct luaL_Reg tls_methods[] = {
{"connect", tls_connect},
{"write", tls_write},
{"read", tls_read},
{"close", tls_close},
{"__gc", tls_gc},
{"__tostring", tls_tostring},
{NULL, NULL}
};
static const struct luaL_Reg tlslib[] = {{"socket", tls_socket}, {NULL, NULL}};