another nice fix

This commit is contained in:
Lion Kortlepel
2021-09-17 02:38:14 +02:00
parent ed6f5282d9
commit 79531334dd
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
#include "Client.h"
#include "TLuaEngine.h"
static std::string LuaToString(const sol::object& Value, size_t Indent = 1) {
static std::string LuaToString(sol::object Value, size_t Indent = 1) {
switch (Value.get_type()) {
case sol::type::userdata: {
std::stringstream ss;

View File

@@ -162,7 +162,7 @@ void TNetwork::TCPServerMain() {
CloseSocketProper(client.Socket);
#ifdef WIN32
CloseSocketProper(client);
CloseSocketProper(client.Socket);
WSACleanup();
#endif // WIN32
}