summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_netlib.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-09-10 13:39:26 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-09-10 13:39:26 +0000
commit9cbcc4a1234b3ad61110eb733ed8b154f8e3ff68 (patch)
tree2b98954bcd12c6bc3b0decebdd929bd5fe9e80fd /protocols/Tox/src/tox_netlib.cpp
parent510f938a5c6f0ee95ac0b36e56aced065228298e (diff)
Tox: refactoring
git-svn-id: http://svn.miranda-ng.org/main/trunk@15317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_netlib.cpp')
-rw-r--r--protocols/Tox/src/tox_netlib.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_netlib.cpp b/protocols/Tox/src/tox_netlib.cpp
index 4c1ae3e09f..580a024360 100644
--- a/protocols/Tox/src/tox_netlib.cpp
+++ b/protocols/Tox/src/tox_netlib.cpp
@@ -12,7 +12,9 @@ void CToxProto::InitNetlib()
nlu.szSettingsModule = m_szModuleName;
hNetlib = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
- debugLogA("Setting protocol/module name to '%s'", m_szModuleName);
+ logger = new CLogger(hNetlib);
+
+ logger->Log("Setting protocol/module name to '%s'", m_szModuleName);
}
void CToxProto::UninitNetlib()