summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
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;
}
}