summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
commit5a17c9299e03bebf46169927abdeee34aaf8e854 (patch)
treecbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /protocols/Tox/src
parented64312924e77707e7e5b5965c301692519f293a (diff)
replace strlen to mir_strlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r--protocols/Tox/src/tox_menus.cpp2
-rw-r--r--protocols/Tox/src/tox_network.cpp2
-rw-r--r--protocols/Tox/src/tox_options.cpp2
-rw-r--r--protocols/Tox/src/tox_search.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Tox/src/tox_menus.cpp b/protocols/Tox/src/tox_menus.cpp
index 6338b74767..95b37d9dcb 100644
--- a/protocols/Tox/src/tox_menus.cpp
+++ b/protocols/Tox/src/tox_menus.cpp
@@ -78,7 +78,7 @@ int CToxProto::OnInitStatusMenu()
{
char text[MAX_PATH];
mir_strcpy(text, m_szModuleName);
- char *tDest = text + strlen(text);
+ char *tDest = text + mir_strlen(text);
CLISTMENUITEM mi = { sizeof(mi) };
mi.pszService = text;
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index d97496b856..1191568773 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -68,7 +68,7 @@ void CToxProto::BootstrapNodesFromIni(bool isIPv6)
BootstrapNode(address, port, pubKey);
}
}
- section += strlen(section) + 1;
+ section += mir_strlen(section) + 1;
}
}
}
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp
index 131abcb858..40cfa41e49 100644
--- a/protocols/Tox/src/tox_options.cpp
+++ b/protocols/Tox/src/tox_options.cpp
@@ -429,7 +429,7 @@ void CToxOptionsNodeList::OnInitDialog()
GetPrivateProfileStringA(section, "PubKey", NULL, value, SIZEOF(value), fileName);
m_nodes.SetItem(iItem, 3, mir_a2t(value));
}
- section += strlen(section) + 1;
+ section += mir_strlen(section) + 1;
}
}
diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp
index 0c66c33fea..0eb8eca77e 100644
--- a/protocols/Tox/src/tox_search.cpp
+++ b/protocols/Tox/src/tox_search.cpp
@@ -108,7 +108,7 @@ void CToxProto::SearchByNameAsync(void *arg)
tox_dns3_kill(dns);
}
}
- section += strlen(section) + 1;
+ section += mir_strlen(section) + 1;
}
}