mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 01:40:28 +00:00
documentation touch-ups
This commit is contained in:
parent
49003febd8
commit
4c08eea8bc
1 changed files with 3 additions and 3 deletions
|
@ -5179,13 +5179,13 @@ int LuaCryptoTlsConnectionWrite(lua_State *L) {
|
||||||
size_t size;
|
size_t size;
|
||||||
const char *data;
|
const char *data;
|
||||||
data = luaL_checklstring(L, 2, &size);
|
data = luaL_checklstring(L, 2, &size);
|
||||||
return TlsConnectionWrite(GetTlsConnection(L), data, size);
|
lua_pushinteger(L, TlsConnectionWrite(GetTlsConnection(L), data, size));
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int LuaCryptoTlsConnectionClose(lua_State *L) {
|
int LuaCryptoTlsConnectionClose(lua_State *L) {
|
||||||
TlsConnectionClose(GetTlsConnection(L));
|
TlsConnectionClose(GetTlsConnection(L));
|
||||||
lua_pop(L, 1);
|
return 0;
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int LuaCryptoTlsConnectionTostring(lua_State *L) {
|
static int LuaCryptoTlsConnectionTostring(lua_State *L) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue