/** * Close the connection. */ static int meth_close(lua_State *L) { p_ssl ssl = (p_ssl) luaL_checkudata(L, 1, "SSL:Connection"); meth_destroy(L); ssl->state = ST_SSL_CLOSED; return 0; }
/** * Close the connection. */ static int meth_close(lua_State *L) { meth_destroy(L); return 0; }