diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-14 01:08:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-14 01:08:04 +0300 |
commit | c169dbdd1fc14f66890dcb6fba7ecf543067875d (patch) | |
tree | d39bf9211d34f13a2c0f2953dc1896c563f31bd1 /src/net/sdltcpnet.cpp | |
parent | 8e4f4e04ca61594e3dec31bad70eaf6cdf86ad8f (diff) | |
download | manaverse-c169dbdd1fc14f66890dcb6fba7ecf543067875d.tar.gz manaverse-c169dbdd1fc14f66890dcb6fba7ecf543067875d.tar.bz2 manaverse-c169dbdd1fc14f66890dcb6fba7ecf543067875d.tar.xz manaverse-c169dbdd1fc14f66890dcb6fba7ecf543067875d.zip |
Use thread safe logging in threads.
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r-- | src/net/sdltcpnet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp index c07ba569b..7530e0f53 100644 --- a/src/net/sdltcpnet.cpp +++ b/src/net/sdltcpnet.cpp @@ -106,14 +106,14 @@ TcpNet::Socket TcpNet::open(IPaddress *const ip) if (setsockopt(hack->channel, IPPROTO_TCP, TCP_THIN_LINEAR_TIMEOUTS, &val, sizeof(val))) { - logger->log1("error on set TCP_THIN_LINEAR_TIMEOUTS"); + logger->log_r("error on set TCP_THIN_LINEAR_TIMEOUTS"); } #endif #ifdef TCP_THIN_DUPACK if (setsockopt(hack->channel, IPPROTO_TCP, TCP_THIN_DUPACK, &val, sizeof(val))) { - logger->log1("error on set TCP_THIN_DUPACK"); + logger->log_r("error on set TCP_THIN_DUPACK"); } #endif } |