Merge pull request #156 from Petr-kk/upstream

SOCKET_INVALID pushed as integer, not as number
This commit is contained in:
Bruno Silvestre 2020-03-06 13:44:42 -03:00 committed by GitHub
commit 22eadbd20e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -941,7 +941,7 @@ LSEC_API int luaopen_ssl_core(lua_State *L)
luaL_newlib(L, funcs);
lua_pushstring(L, "SOCKET_INVALID");
lua_pushnumber(L, SOCKET_INVALID);
lua_pushinteger(L, SOCKET_INVALID);
lua_rawset(L, -3);
return 1;