summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-14 01:08:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-14 01:08:04 +0300
commitc169dbdd1fc14f66890dcb6fba7ecf543067875d (patch)
treed39bf9211d34f13a2c0f2953dc1896c563f31bd1 /src/net/sdltcpnet.cpp
parent8e4f4e04ca61594e3dec31bad70eaf6cdf86ad8f (diff)
downloadplus-c169dbdd1fc14f66890dcb6fba7ecf543067875d.tar.gz
plus-c169dbdd1fc14f66890dcb6fba7ecf543067875d.tar.bz2
plus-c169dbdd1fc14f66890dcb6fba7ecf543067875d.tar.xz
plus-c169dbdd1fc14f66890dcb6fba7ecf543067875d.zip
Use thread safe logging in threads.
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r--src/net/sdltcpnet.cpp4
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
}