Problem on Win64, since double does not represent SOCKET_INVALID exactly.

This commit is contained in:
Bruno Silvestre
2014-09-10 14:41:09 -03:00
parent 84cb83b92f
commit f514e9fb1b
2 changed files with 1 additions and 5 deletions

View File

@ -837,8 +837,6 @@ LSEC_API int luaopen_ssl_core(lua_State *L)
lua_setfield(L, -2, "__index");
luaL_register(L, "ssl.core", funcs);
lua_pushnumber(L, SOCKET_INVALID);
lua_setfield(L, -2, "invalidfd");
return 1;
}
@ -870,8 +868,6 @@ LSEC_API int luaopen_ssl_core(lua_State *L)
lua_newtable(L);
luaL_setfuncs(L, funcs, 0);
lua_pushnumber(L, SOCKET_INVALID);
lua_setfield(L, -2, "invalidfd");
return 1;
}