summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-18 20:00:37 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-18 20:00:37 +0000
commit4e8f0184433089b71b04d491bc12ab612dd5cadc (patch)
treefdf859145dfb48e43002bea39c8e6b136e2c5e4b /protocols/Tox/src
parente7fb946a1569945af56ff6ebdc668a6ad308d6e2 (diff)
Tox: reverted
git-svn-id: http://svn.miranda-ng.org/main/trunk@12186 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r--protocols/Tox/src/tox_network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 977e4c08ec..86afc17607 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -26,7 +26,7 @@ void CToxProto::BootstrapNodes()
ptrA address(db_get_sa(NULL, MODULE, setting));
if (address == NULL && !isIPv4)
{
- mir_snprintf(setting, SIZEOF(setting), TOX_SETTINGS_NODE_IPV6, i + 1);
+ mir_snprintf(setting, SIZEOF(setting), TOX_SETTINGS_NODE_IPV4, i + 1);
address = db_get_sa(NULL, MODULE, setting);
}
mir_snprintf(setting, SIZEOF(setting), TOX_SETTINGS_NODE_PORT, i + 1);