From 4e8f0184433089b71b04d491bc12ab612dd5cadc Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 18 Feb 2015 20:00:37 +0000 Subject: Tox: reverted git-svn-id: http://svn.miranda-ng.org/main/trunk@12186 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox/src') 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); -- cgit v1.2.3