[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; return 1;
} }
static const struct luaL_Reg tls_methods[] = {{"connect", tls_connect}, static const struct luaL_Reg tls_methods[] = {
{"write", tls_write}, {"connect", tls_connect},
{"read", tls_read}, {"write", tls_write},
{"close", tls_close}, {"read", tls_read},
{"__gc", tls_gc}, {"close", tls_close},
{"__tostring", tls_tostring}, {"__gc", tls_gc},
{NULL, NULL}}; {"__tostring", tls_tostring},
{NULL, NULL}
};
static const struct luaL_Reg tlslib[] = {{"socket", tls_socket}, {NULL, NULL}}; static const struct luaL_Reg tlslib[] = {{"socket", tls_socket}, {NULL, NULL}};