diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-03-05 19:40:14 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-03-05 19:40:14 +0000 |
commit | 78e28d43c6599122aa2c9e61a1ac73d3045fdf23 (patch) | |
tree | 5e94de73eff06f46151cc3a95c4ddc4b1fe4646a /protocols/Tox | |
parent | bf1ad652a38a0a319199ed12296c8d09bcb099dd (diff) |
Tox: fixed loading tox nodes from db
git-svn-id: http://svn.miranda-ng.org/main/trunk@12337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/src/tox_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp index 52c66120b9..86ba7fff37 100644 --- a/protocols/Tox/src/tox_network.cpp +++ b/protocols/Tox/src/tox_network.cpp @@ -16,7 +16,7 @@ void CToxProto::BootstrapNode(const char *address, int port, const uint8_t *pubK void CToxProto::BootstrapNodesFromDb(bool isIPv6)
{
char module[MAX_PATH];
- mir_snprintf(module, SIZEOF(module), "%s_NODES", m_szModuleName);
+ mir_snprintf(module, SIZEOF(module), "%s_Nodes", m_szModuleName);
int nodeCount = db_get_w(NULL, module, TOX_SETTINGS_NODE_COUNT, 0);
if (nodeCount > 0)
{
|